Django

Code

Changeset 3003

Show
Ignore:
Timestamp:
05/29/06 20:11:27 (2 years ago)
Author:
adrian
Message:

Fixed #2015 -- Fixed sqlinitialdata regexp to handle empty string insertions. Thanks, Steven Armstrong

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/management.py

    r2985 r3003  
    335335        (?:             # one or more chunks of ... 
    336336            (?:[^;'"]+) # not the end of a statement or start of a quote 
    337           | (?:'[^']+') # something in single quotes 
    338           | (?:"[^"]+") # something in double quotes 
     337          | (?:'[^']*') # something in single quotes 
     338          | (?:"[^"]*") # something in double quotes 
    339339        )+)""", re.VERBOSE) 
    340340