error: fix typos

Change-Id: I09c47024ef54c360ea3c15c5d4f169e13444e412
This commit is contained in:
Anthony King 2015-06-03 16:59:18 +01:00 committed by David Pursehouse
parent cf738ed4a1
commit be4456cf24

View File

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