diff options
-rw-r--r-- | gbp/deb/source.py | 4 | ||||
-rw-r--r-- | tests/15_test_DebianSource.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gbp/deb/source.py b/gbp/deb/source.py index 78a1c93b..643aac2e 100644 --- a/gbp/deb/source.py +++ b/gbp/deb/source.py @@ -51,7 +51,9 @@ class DebianSource(object): def __init__(self, vfs): """ @param vfs: a class that implemented GbpVFS interface or - a directory (which will use the I{FileVFS} class. + a directory (which will use the I{FileVFS} class. The + directory must be the toplevel of a Debian source + package. """ self._changelog = None diff --git a/tests/15_test_DebianSource.py b/tests/15_test_DebianSource.py index f7f333b6..efc38b4f 100644 --- a/tests/15_test_DebianSource.py +++ b/tests/15_test_DebianSource.py @@ -86,7 +86,6 @@ class TestDebianSource(testutils.DebianGitTestRepo): self.assertFalse(source.is_native()) def test_is_releasable(self): - source = DebianSource('.') os.makedirs('debian/') with open('debian/changelog', 'w') as f: f.write("""git-buildpackage (0.2.3) unstable; urgency=low @@ -100,7 +99,6 @@ class TestDebianSource(testutils.DebianGitTestRepo): self.assertTrue(source.is_releasable()) def test_is_not_releasable(self): - source = DebianSource('.') os.makedirs('debian/') with open('debian/changelog', 'w') as f: f.write("""git-buildpackage (0.2.3) UNRELEASED; urgency=low |