Skip to content

Commit

Permalink
changed regular expression for filter for packages by sections in rep…
Browse files Browse the repository at this point in the history
…ository, refs #12844
  • Loading branch information
Michal Dub committed Jun 27, 2011
1 parent afa0aae commit 480a9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion citools/fabfile.py
Expand Up @@ -347,7 +347,7 @@ def clean_diff(diff_packages_list, unwanted_packages):
for record in DIFF_PACKAGES_LIST:
if record in delete_records:
continue
urls = run("apt-cache policy %s | grep 'http://.*/content' | sed 's/ \{2,\}//'" % (DIFF_PACKAGES_LIST[record][0]))
urls = run("apt-cache policy %s | grep 'http://.*[ ].*/content' | sed 's/ \{2,\}//'" % (DIFF_PACKAGES_LIST[record][0]))
if urls == "" or urls == None:
delete_records.append(record)
continue
Expand Down

0 comments on commit 480a9a8

Please sign in to comment.