Skip to content

Commit

Permalink
this changes nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
colinta committed Jul 23, 2012
1 parent 57c9bb5 commit b4196a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strange_case/configurators/setdefault_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def setdefault_name(source_file, config):
name += '_' + ext[1:] # pluck off the "." in front

# replace non-word, hyphens, and spaces characters with _
name = re.sub(r'[\W -]', '_', name, re.UNICODE)
name = re.sub(r'\W', '_', name, re.UNICODE)
config['name'] = name.encode('ascii')
return config

Expand Down

0 comments on commit b4196a5

Please sign in to comment.