Ticket #3625: management-rsplit-python23.diff
File management-rsplit-python23.diff, 744 bytes (added by , 18 years ago) |
---|
-
home/akaihola/dl/prg/www/django/django/core/management.py
1355 1355 if verbosity > 1: 1356 1356 print "Checking %s for fixtures..." % humanize(fixture_dir) 1357 1357 try: 1358 fixture_name, format = fixture_label.rsplit('.', 1) 1358 parts = fixture_label.split('.') 1359 fixture_name, format = '.'.join(parts[:-1]), parts[-1] 1359 1360 formats = [format] 1360 1361 except ValueError: 1361 1362 fixture_name = fixture_label