index aa43a8a..74633fa 100644
a
|
b
|
class ManagementUtility(object):
|
178 | 178 | app_name = commands[subcommand] |
179 | 179 | except KeyError: |
180 | 180 | # This might trigger ImproperlyConfigured (masked in get_commands) |
181 | | settings.INSTALLED_APPS |
| 181 | # Ignore test in django-admin.py, where project might not exist yet |
| 182 | if self.prog_name != "django-admin.py": |
| 183 | settings.INSTALLED_APPS |
182 | 184 | sys.stderr.write("Unknown command: %r\nType '%s help' for usage.\n" % |
183 | 185 | (subcommand, self.prog_name)) |
184 | 186 | sys.exit(1) |