Skip to content

Commit adc1b85

Browse files
committed
flake8 whitespace fixes.
1 parent 4b1c8a0 commit adc1b85

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

roundup/scripts/roundup_gettext.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@
2828
# i don't think this will ever need to be changed, but still...
2929
TEMPLATE_FILE = "messages.pot"
3030

31+
3132
def run():
3233
# return unless command line arguments contain single directory path
3334
if (len(sys.argv) != 2) or (sys.argv[1] in ("-h", "--help")):
34-
print(_("Usage: %(program)s <tracker home>") % {"program": sys.argv[0]})
35+
print(_("Usage: %(program)s <tracker home>") %
36+
{"program": sys.argv[0]})
3537
return
3638
# collect file paths of html templates
3739
home = os.path.abspath(sys.argv[1])
@@ -40,8 +42,8 @@ def run():
4042
# glob is not used because i want to match file names
4143
# without case sensitivity, and that is easier done this way.
4244
htmlfiles = [filename for filename in os.listdir(htmldir)
43-
if os.path.isfile(os.path.join(htmldir, filename))
44-
and filename.lower().endswith(".html")]
45+
if os.path.isfile(os.path.join(htmldir, filename))
46+
and filename.lower().endswith(".html")]
4547
else:
4648
htmlfiles = []
4749
# return if no html files found
@@ -60,6 +62,7 @@ def run():
6062
# run
6163
talgettext.main()
6264

65+
6366
if __name__ == "__main__":
6467
run()
6568

0 commit comments

Comments
 (0)