summaryrefslogtreecommitdiff
path: root/python/londiste
diff options
context:
space:
mode:
authormartinko2013-02-22 13:29:44 +0000
committermartinko2013-02-22 13:29:44 +0000
commit8c847dbbb95f131723efec4023682b3c9d9797d1 (patch)
tree690fcaf1b7763c601b0f98073c72331a09e40ded /python/londiste
parent803e8f920ca9cc737091f4f2df8f692bcd790932 (diff)
noise
Diffstat (limited to 'python/londiste')
-rw-r--r--python/londiste/setup.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/python/londiste/setup.py b/python/londiste/setup.py
index c54e2644..d7463de7 100644
--- a/python/londiste/setup.py
+++ b/python/londiste/setup.py
@@ -536,7 +536,6 @@ class LondisteSetup(CascadeAdmin):
self.provider_location = res[0]['provider_location']
return self.get_database('provider_db', connstr = self.provider_location)
-
def expand_arg_list(self, db, kind, existing, args, needs_tbl=True):
curs = db.cursor()
@@ -570,7 +569,6 @@ class LondisteSetup(CascadeAdmin):
else:
return lst_missing
-
allow_nonexist = not needs_tbl
if existing:
res = self.solve_globbing(args, lst_exists, map_exists, map_missing, allow_nonexist)
@@ -578,7 +576,6 @@ class LondisteSetup(CascadeAdmin):
res = self.solve_globbing(args, lst_missing, map_missing, map_exists, allow_nonexist)
return res
-
def solve_globbing(self, args, full_list, full_map, reverse_map, allow_nonexist):
def glob2regex(s):
s = s.replace('.', '[.]').replace('?', '.').replace('*', '.*')