fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop lots of legacy code. Support Python 3.7-3.11.
[librarian.git]
/
src
/
librarian
/
meta
/
types
/
person.py
diff --git
a/src/librarian/meta/types/person.py
b/src/librarian/meta/types/person.py
index
2317780
..
ba1b55f
100644
(file)
--- a/
src/librarian/meta/types/person.py
+++ b/
src/librarian/meta/types/person.py
@@
-1,3
+1,6
@@
+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
from functools import total_ordering
from .base import MetaValue
from functools import total_ordering
from .base import MetaValue
@@
-33,7
+36,7
@@
class Person(MetaValue):
return cls(surname, *names)
def readable(self):
return cls(surname, *names)
def readable(self):
- return
u
" ".join(self.first_names + (self.last_name,))
+ return " ".join(self.first_names + (self.last_name,))
def __eq__(self, right):
return (self.last_name == right.last_name
def __eq__(self, right):
return (self.last_name == right.last_name