Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.357 kB
#!/usr/bin/python
import apt_inst
import sys
def Callback(What,Name,Link,Mode,UID,GID,Size,MTime,Major,Minor):
print "%s '%s','%s',%u,%u,%u,%u,%u,%u,%u" % (
What,Name,Link,Mode,UID,GID,Size, MTime, Major, Minor)
member = "data.tar.lzma"
if len(sys.argv) > 2:
member = sys.argv[2]
apt_inst.debExtract(open(sys.argv[1]), Callback, member)
Jump to Line
Something went wrong with that request. Please try again.