summaryrefslogtreecommitdiff
path: root/filter.py
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-16 03:15:01 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-16 03:15:01 -0500
commit374c8e2a5183cdbaefe9f54184603ad8d09e30c2 (patch)
treed21bb4638091c4522235f961ed3dcbf6afcf7fd6 /filter.py
parent7203e2e2631e29a79f4ea822c371d4e12c9c1a88 (diff)
* bash-repo for testing
* merged dbscripts with repm
Diffstat (limited to 'filter.py')
-rwxr-xr-xfilter.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/filter.py b/filter.py
index add0235..4abdf38 100755
--- a/filter.py
+++ b/filter.py
@@ -189,9 +189,10 @@ if __name__ == "__main__":
help="File containing blacklisted names",
required=True,)
parser.add_argument("-c", "--rsync-command", type=str,
- help="This command will be run to get a pkg list")
+ help="This command will be run to get a pkg list",
+ required=True,)
args=parser.parse_args()
- rsout=check_output(args.rsync_command)
+ rsout=check_output(args.rsync_command.split())
packages=pkginfo_from_rsync_output(rsout)
rsyncBlaclist_from_blacklist(packages, listado(args.blacklist_file),
args.rsync_exclude_file)