summaryrefslogtreecommitdiff
path: root/apt/progress.py
diff options
context:
space:
mode:
authorBen Finney <ben@benfinney.id.au>2008-05-16 16:50:38 +1000
committerBen Finney <ben@benfinney.id.au>2008-05-16 16:50:38 +1000
commitad7bc46acd80451de21ce58450edb0f4367a5c79 (patch)
tree12775f7901544a709f8d63079f1cd57fef00f5a8 /apt/progress.py
parenta953d82143f0ec979e18f17e8d9bbacbac954868 (diff)
downloadpython-apt-ad7bc46acd80451de21ce58450edb0f4367a5c79.tar.gz
Fix code indentation to 4 spaces, to conform with PEP 8.
Diffstat (limited to 'apt/progress.py')
-rw-r--r--apt/progress.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/apt/progress.py b/apt/progress.py
index b50b2915..6f72197e 100644
--- a/apt/progress.py
+++ b/apt/progress.py
@@ -188,14 +188,14 @@ class InstallProgress(DumbInstallProgress):
pass
def statusChange(self, pkg, percent, status):
- " called when the status changed "
- pass
+ " called when the status changed "
+ pass
def updateInterface(self):
if self.statusfd != None:
try:
- while not self.read.endswith("\n"):
- self.read += os.read(self.statusfd.fileno(),1)
+ while not self.read.endswith("\n"):
+ self.read += os.read(self.statusfd.fileno(),1)
except OSError, (errno,errstr):
# resource temporarly unavailable is ignored
if errno != EAGAIN and errnor != EWOULDBLOCK: