Explorar el Código

error: fix typos

Change-Id: I09c47024ef54c360ea3c15c5d4f169e13444e412
Anthony King hace 10 años
padre
commit
be4456cf24
Se han modificado 1 ficheros con 2 adiciones y 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