summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Pautler <jeffrey.pautler@ni.com>2017-10-02 19:37:54 +0000
committerAlejandro del Castillo <alejandro.delcastillo@ni.com>2017-10-03 08:51:23 -0500
commit8c5201fe09938bee66092af515b0900a98aab64d (patch)
tree00a45e49fc105ea517ee1dc459e33312bbf85fdb
parent51badc589a7433b9fa9cf5b6a9cf8e4270cdc6ca (diff)
downloadopkg-utils-8c5201fe09938bee66092af515b0900a98aab64d.tar.gz
opkg-utils-8c5201fe09938bee66092af515b0900a98aab64d.tar.bz2
opkg-utils-8c5201fe09938bee66092af515b0900a98aab64d.zip
opkg.py: Fix run-time error in call to ArFile
Signed-off-by: Jeffrey Pautler <jeffrey.pautler@ni.com> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
-rw-r--r--opkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/opkg.py b/opkg.py
index 4d6f020..9131755 100644
--- a/opkg.py
+++ b/opkg.py
@@ -168,7 +168,7 @@ class Package(object):
tar = tarfile.open(fn, "r", f)
tarStream = tar.extractfile("./control.tar.gz")
else:
- ar = ArFile(f, fn)
+ ar = arfile.ArFile(f, fn)
tarStream = ar.open("control.tar.gz")
tarf = tarfile.open("control.tar.gz", "r", tarStream)
try: