We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f97be7c commit 3616827Copy full SHA for 3616827
roundup/i18n.py
@@ -88,13 +88,13 @@
88
_ldir = os.path.join(path, sys.base_prefix[root_prefix_chars:], 'share', 'locale')
89
if os.path.isdir(_ldir):
90
LOCALE_DIRS.append(_ldir)
91
-
92
- # make -C locale local_install - locale directory in roundup source tree
93
- _ldir = os.path.join(path, 'locale', 'locale')
94
- if os.path.isdir(_ldir):
95
- LOCALE_DIRS.append(_ldir)
96
except AttributeError:
97
pass # no base_prefix on 2.7
+
+# make -C locale local_install - locale directory in roundup source tree
+_ldir = os.path.join(path, 'locale', 'locale')
+if os.path.isdir(_ldir):
+ LOCALE_DIRS.append(_ldir)
98
del _ldir
99
100
# Roundup text domain
0 commit comments