From 346229e4e71ce99988e6fa06a2ec154b2103f491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Thu, 16 Jun 2005 10:19:11 +0000 Subject: [PATCH] =?UTF-8?q?indent=20hatas=C4=B1.=20hi=C3=A7=20sevmem!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pisi/context.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pisi/context.py b/src/pisi/context.py index 16cd7c12..57a418cb 100644 --- a/src/pisi/context.py +++ b/src/pisi/context.py @@ -16,11 +16,11 @@ class Constants: # Binding an attribute once to a const is available self.__dict__[name] = value - def __delattr__(self, name): - if self.__dict__.has_key(name): - raise self.ConstError, "Can't unbind constant: %s" % name - # we don't have an attribute by this name - raise NameError, name + def __delattr__(self, name): + if self.__dict__.has_key(name): + raise self.ConstError, "Can't unbind constant: %s" % name + # we don't have an attribute by this name + raise NameError, name c = __const()