aboutsummaryrefslogtreecommitdiffstats
path: root/minidinstall/DpkgControl.py
diff options
context:
space:
mode:
authorLibravatarChristoph Goehre <christoph.goehre@gmx.de>2008-09-20 10:52:41 +0200
committerLibravatarChristoph Goehre <christoph.goehre@gmx.de>2008-09-20 18:10:30 +0200
commita4cc92989da6619456a69f8d176e0986c4935496 (patch)
tree5dfbee6a2297f83bf43443e73f10f3523ab55a96 /minidinstall/DpkgControl.py
parent5bbaa283c704fb3a1d83c281031d6131cfc58a91 (diff)
expand tabs and remove tailing whitespaces
Diffstat (limited to 'minidinstall/DpkgControl.py')
-rwxr-xr-xminidinstall/DpkgControl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/minidinstall/DpkgControl.py b/minidinstall/DpkgControl.py
index 38147c7..4bda8c5 100755
--- a/minidinstall/DpkgControl.py
+++ b/minidinstall/DpkgControl.py
@@ -50,7 +50,7 @@ class DpkgParagraph(DpkgOrderedDatalist):
value = None
while 1:
line = f.readline()
- if not line:
+ if not line:
return
# skip blank lines until we reach a paragraph
if line == '\n':
@@ -124,10 +124,10 @@ class DpkgSourceControl( DpkgControl ):
f = SignedFile(f)
self.source = self._load_one( f )
DpkgControl.load( self, f )
-
+
def __repr__( self ):
return self.source.__repr__() + "\n" + DpkgControl.__repr__( self )
-
+
def _store( self, f ):
"Write our control data to a file object"
self.source._store( f )