Commit a0551bb1 authored by ale's avatar ale

fix undefined variable error

parent 28e1f542
......@@ -44,6 +44,7 @@ def scan_dir(root_dir, includes, excludes, changed):
stamp_file = os.path.join(data_dir, '.offlinescan_stamp')
last_scanned_at = read_stamp(stamp_file)
stamp = None
for filename in sorted(os.listdir(data_dir)):
if (not filename.startswith('mirror_metadata.') or
not filename.endswith('.diff.gz')):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment