From 95423d8a20c53608538a2e26f9be541d7c7cb210 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 20 Mar 2009 08:28:19 +0000 Subject: Normalize try/except indentation for compatibility with 2to3. svn path=/main/trunk/; revision=13139 --- pym/_emerge/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pym/_emerge/__init__.py') diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 6ca40e6fc..992ba9008 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -13216,8 +13216,10 @@ def action_metadata(settings, portdb, myopts): self.call_update_mine = 0 def update(self, *arg): - try: self.pstr = int(self.pstr) + 1 - except ValueError: self.pstr = 1 + try: + self.pstr = int(self.pstr) + 1 + except ValueError: + self.pstr = 1 sys.stdout.write("%s%i%%" % \ ("\b" * (len(str(self.pstr))+1), self.pstr)) sys.stdout.flush() -- cgit v1.2.3-1-g7c22