summaryrefslogtreecommitdiffstats
path: root/git-interface/aurinfo.py
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-08-01 18:16:47 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-04 05:57:02 +0200
commit950abb0189eca4ba34e538d85c568015487c126c (patch)
tree5e189e024bb0955b991ae7014d27d7d4042bc299 /git-interface/aurinfo.py
parentf19892f7c2ecc1667fd24331d15217cc4f848d3a (diff)
downloadaur-950abb0189eca4ba34e538d85c568015487c126c.tar.gz
aur-950abb0189eca4ba34e538d85c568015487c126c.tar.xz
aurinfo: Fix parsing with custom file when running script
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'git-interface/aurinfo.py')
-rw-r--r--git-interface/aurinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-interface/aurinfo.py b/git-interface/aurinfo.py
index dfee3c14..b286316f 100644
--- a/git-interface/aurinfo.py
+++ b/git-interface/aurinfo.py
@@ -194,7 +194,7 @@ if __name__ == '__main__':
action, filename = sys.argv[1:3]
if action == 'parse':
- aurinfo = ParseAurinfo()
+ aurinfo = ParseAurinfo(filename)
for pkgname in aurinfo.GetPackageNames():
print(">>> merged package: {:s}".format(pkgname))
pp.pprint(aurinfo.GetMergedPackage(pkgname))