summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2010-06-15 19:45:06 +0200
committerSean Finney <seanius@debian.org>2010-06-15 19:45:06 +0200
commit67acace258dfb84c9f40734e21f70b5ea9fd67c7 (patch)
tree3393995c6fa88fc76d70bd68e71369efc7c0fd8d
parent1be98695f48f497b790998930eb182d549f86e7f (diff)
downloadpatch-tracker-67acace258dfb84c9f40734e21f70b5ea9fd67c7.tar.gz
use debian instead of debian_bundle if possible
-rwxr-xr-xreprepro/conf/diffsonly.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/reprepro/conf/diffsonly.py b/reprepro/conf/diffsonly.py
index c49122e..460cb2b 100755
--- a/reprepro/conf/diffsonly.py
+++ b/reprepro/conf/diffsonly.py
@@ -1,6 +1,10 @@
#!/usr/bin/python
-from debian_bundle import deb822
+try:
+ from debian import deb822
+except ImportError:
+ from debian_bundle import deb822
+
from gzip import GzipFile
from fnmatch import fnmatch
import sys