From 950abb0189eca4ba34e538d85c568015487c126c Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 1 Aug 2015 18:16:47 +0200 Subject: aurinfo: Fix parsing with custom file when running script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg Signed-off-by: Lukas Fleischer --- git-interface/aurinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-interface') diff --git a/git-interface/aurinfo.py b/git-interface/aurinfo.py index dfee3c1..b286316 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)) -- cgit v1.2.3-70-g09d2