one-line if for returning project name
This commit is contained in:
parent
5b14c9d5eb
commit
5d37335b37
1 changed files with 1 additions and 3 deletions
|
@ -68,6 +68,4 @@ class ProjectMap(BaseProject):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def name(self):
|
def name(self):
|
||||||
if self.project:
|
return u(self.project) if self.project else None
|
||||||
return u(self.project)
|
|
||||||
return None
|
|
||||||
|
|
Loading…
Reference in a new issue