summaryrefslogtreecommitdiff
path: root/deltarpm.py
diff options
context:
space:
mode:
Diffstat (limited to 'deltarpm.py')
-rw-r--r--deltarpm.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/deltarpm.py b/deltarpm.py
new file mode 100644
index 0000000..5c0f0e8
--- /dev/null
+++ b/deltarpm.py
@@ -0,0 +1,12 @@
+# Copyright 2009 Red Hat, Inc.
+#
+# This program is licensed under the BSD license, read LICENSE.BSD
+# for further information.
+
+import _deltarpm
+import sys
+
+def readDeltaRPM(file):
+ result = _deltarpm.read(file)
+ return result
+