[aur-dev] [PATCH 2/2] aurinfo: Fix parsing with custom file when running script

Johannes Löthberg johannes at kyriasis.com
Sat Aug 1 16:16:47 UTC 2015


Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
---
 git-interface/aurinfo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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))
-- 
2.5.0


More information about the aur-dev mailing list