Skip to content

Commit

Permalink
Don't add properties/methods to Gramps objects, unless they start with _
Browse files Browse the repository at this point in the history
  • Loading branch information
dsblank committed Nov 1, 2024
1 parent 6f5bcda commit ef8297b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gramps/plugins/importer/importvcard.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,11 +525,11 @@ def add_street(strng):
else:
addr.set_street(strng)

addr.add_street = add_street
addr._add_street = add_street
set_func = [
"add_street",
"add_street",
"add_street",
"_add_street",
"_add_street",
"_add_street",
"set_city",
"set_state",
"set_postal_code",
Expand Down

0 comments on commit ef8297b

Please sign in to comment.