Anonymous avatar Anonymous committed fe975f9

Fix #157 - verbose_name picked up as a change - and remove missed print statement.

Comments (0)

Files changed (1)


 ### Output sanitisers
-USELESS_KEYWORDS = ["choices", "help_text", "upload_to"]
+USELESS_KEYWORDS = ["choices", "help_text", "upload_to", "verbose_name"]
 USELESS_DB_KEYWORDS = ["related_name"] # Important for ORM, not for DB.
 def remove_useless_attributes(field, db=False):
     if "orm" in new[1][0] and "orm" not in old[1][0]:
         # Do special comparison to fix #153
-            print old[1][0], new[1][0].split("'")[1].split(".")[1]
             return old[1][0] != new[1][0].split("'")[1].split(".")[1]
         except IndexError:
             pass # Fall back to next comparison
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.