--- a/cubicweb/cwconfig.py Wed Apr 10 17:59:17 2019 +0000
+++ b/cubicweb/cwconfig.py Thu Apr 18 04:34:34 2019 +0000
@@ -205,7 +205,7 @@
def possible_configurations(directory):
"""return a list of installed configurations in a directory
- according to \*-ctl files
+ according to *-ctl files
"""
return [name for name in ('repository', 'all-in-one', 'pyramid')
if exists(join(directory, '%s.conf' % name))]
@@ -1149,7 +1149,7 @@
"""return available translation for an instance, by looking for
compiled catalog
- take \*args to be usable as a vocabulary method
+ take *args to be usable as a vocabulary method
"""
from glob import glob
yield 'en' # ensure 'en' is yielded even if no .mo found