diff options
Diffstat (limited to 'Demo/scripts/ftpstats.py')
-rwxr-xr-x | Demo/scripts/ftpstats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/scripts/ftpstats.py b/Demo/scripts/ftpstats.py index 5c1599e..881b717 100755 --- a/Demo/scripts/ftpstats.py +++ b/Demo/scripts/ftpstats.py @@ -104,7 +104,7 @@ def main(): def showbar(dict, title): n = len(title) - print '='*((70-n)/2), title, '='*((71-n)/2) + print '='*((70-n)//2), title, '='*((71-n)//2) list = [] keys = dict.keys() keys.sort() @@ -126,7 +126,7 @@ def show(dict, title, maxitems): if len(dict) > maxitems: title = title + ' (first %d)'%maxitems n = len(title) - print '='*((70-n)/2), title, '='*((71-n)/2) + print '='*((70-n)//2), title, '='*((71-n)//2) list = [] keys = dict.keys() for key in keys: |