diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-10-06 06:13:21 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-10-06 06:13:21 -0400 |
commit | b14969c273f930374d8c5f6211619c0190752377 (patch) | |
tree | ab6fc1fd75d1d9cf2876c364e5d25bf20d414f47 /grs/Rotator.py | |
parent | grs/ISOIt.py: mksquashfs and mkisofs can take a long time. (diff) | |
download | grss-b14969c273f930374d8c5f6211619c0190752377.tar.gz grss-b14969c273f930374d8c5f6211619c0190752377.tar.bz2 grss-b14969c273f930374d8c5f6211619c0190752377.zip |
lint: fix white spaces
Diffstat (limited to 'grs/Rotator.py')
-rw-r--r-- | grs/Rotator.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grs/Rotator.py b/grs/Rotator.py index faa49aa..a1282b2 100644 --- a/grs/Rotator.py +++ b/grs/Rotator.py @@ -24,7 +24,7 @@ import shutil class Rotator(): """ Super class for rotating files or directories. """ - def rotate(self, obj, upper_limit = 20): + def rotate(self, obj, upper_limit=20): """ Does the work of rotating objects fitting the pattern obj.(d+). obj -> The absolute path to the objects to be rotated. The @@ -63,8 +63,8 @@ class Rotator(): shutil.move(current_obj, next_obj) - def full_rotate(self, obj, upper_limit = 20): + def full_rotate(self, obj, upper_limit=20): """ Rotate both obj and obj.(d+). """ - self.rotate(obj, upper_limit = upper_limit) + self.rotate(obj, upper_limit=upper_limit) if os.path.exists(obj): shutil.move(obj, '%s.0' % obj) |