summaryrefslogtreecommitdiff
path: root/gbp/deb/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/deb/__init__.py')
-rw-r--r--gbp/deb/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/gbp/deb/__init__.py b/gbp/deb/__init__.py
index bff4783..41fc8fd 100644
--- a/gbp/deb/__init__.py
+++ b/gbp/deb/__init__.py
@@ -26,7 +26,6 @@ from gbp.git import GitRepositoryError
# Make sure these are available with 'import gbp.deb'
from gbp.deb.changelog import ChangeLog, NoChangeLogError
from gbp.deb.policy import DebianPkgPolicy
-from gbp.deb.dscfile import DscFile
class DpkgCompareVersions(gbpc.Command):
cmd='/usr/bin/dpkg'
@@ -52,16 +51,6 @@ class DpkgCompareVersions(gbpc.Command):
return 0
-def parse_dsc(dscfile):
- """parse dsc by creating a DscFile object"""
- try:
- dsc = DscFile(dscfile)
- except IOError as err:
- raise GbpError("Error reading dsc file: %s" % err)
-
- return dsc
-
-
def parse_changelog_repo(repo, branch, filename):
"""
Parse the changelog file from given branch in the git