Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
plushkatze
foobarpay
Commits
d8434d33
Commit
d8434d33
authored
Apr 06, 2016
by
anthraxx
Browse files
anonymize displayed id so its not stealable as easily
parent
9f4ea2e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
foobarpay/model/customer.py
View file @
d8434d33
...
...
@@ -16,7 +16,7 @@ class Customer(Base):
@
property
def
name
(
self
):
return
self
.
_name
or
str
(
self
.
id
)
return
self
.
_name
or
(
str
(
self
.
id
)
[:
-
5
]
+
"x"
*
5
)
@
name
.
setter
def
name
(
self
,
value
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment