- Timestamp:
- Oct 29, 2017 10:17:03 AM (7 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- df4af9b
- Parents:
- 0be6b6b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
r69363c7 r1c206d9 332 332 msg = ("%s is not a valid Python name. Only alphanumeric \n" \ 333 333 "and underscore allowed" % self.name) 334 334 335 335 #Now check if the name already exists 336 336 if not self.overwrite_name and self.good_name: … … 338 338 list_fnames = os.listdir(self.plugin_dir) 339 339 # fake existing regular model name list 340 m_list = [model .name+ ".py" for model in self.model_list]340 m_list = [model + ".py" for model in self.model_list] 341 341 list_fnames.append(m_list) 342 342 if t_fname in list_fnames and title != mname:
Note: See TracChangeset
for help on using the changeset viewer.