summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-14 01:32:48 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-14 01:32:48 -0600
commitb27cbc08447fe5605bf877ee0991888d5ecf6382 (patch)
treedb78622e924d5d7457c5ef8c7bd30c27f69a9012
parent6203dc2fc926781db694ca2383b1e44e2c5469c7 (diff)
Corrected filter.py to run
-rw-r--r--filter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter.py b/filter.py
index 14ae31e..c789cd5 100644
--- a/filter.py
+++ b/filter.py
@@ -79,7 +79,7 @@ def generate_exclude_list_from_blacklist(packages_iterable, blacklisted_names,
except IOError:
printf("%s wasnt written" % blacklist_file)
-if name == "__main__":
+if __name__ == "__main__":
a=run_rsync(rsync_list_command)
packages=get_file_list_from_rsync_output(a)
generate_exclude_list_from_blacklist(packages,listado(blacklist))