Explorar o código

error: fix typos

Change-Id: I09c47024ef54c360ea3c15c5d4f169e13444e412
Anthony King %!s(int64=10) %!d(string=hai) anos
pai
achega
be4456cf24
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      error.py

+ 2 - 2
error.py

@@ -80,7 +80,7 @@ class NoSuchProjectError(Exception):
     self.name = name
 
   def __str__(self):
-    if self.Name is None:
+    if self.name is None:
       return 'in current directory'
     return self.name
 
@@ -93,7 +93,7 @@ class InvalidProjectGroupsError(Exception):
     self.name = name
 
   def __str__(self):
-    if self.Name is None:
+    if self.name is None:
       return 'in current directory'
     return self.name