Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
002497c8
Commit
002497c8
authored
Aug 23, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better Bytes tag
parent
a81bfce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
debomatic-modules/JSONLogger.py
debomatic-modules/JSONLogger.py
+1
-1
No files found.
debomatic-modules/JSONLogger.py
View file @
002497c8
...
@@ -120,7 +120,7 @@ class DebomaticModule_JSONLogger:
...
@@ -120,7 +120,7 @@ class DebomaticModule_JSONLogger:
infofd
.
write
(
json
+
'
\
n
'
)
infofd
.
write
(
json
+
'
\
n
'
)
def
_get_human_size
(
self
,
num
):
def
_get_human_size
(
self
,
num
):
for
x
in
[
'
b
'
,
'KB'
,
'MB'
,
'GB'
,
'TB'
]:
for
x
in
[
'
B
'
,
'KB'
,
'MB'
,
'GB'
,
'TB'
]:
if
num
<
1024.0
:
if
num
<
1024.0
:
return
"%3.1f %s"
%
(
num
,
x
)
return
"%3.1f %s"
%
(
num
,
x
)
num
/=
1024.0
num
/=
1024.0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment