Permalink
Browse files

this changes nothing

  • Loading branch information...
1 parent 57c9bb5 commit b4196a57e85a2ee6f56651f9c0e903d4fbe30df5 @colinta committed Jul 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 strange_case/configurators/setdefault_name.py
@@ -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

0 comments on commit b4196a5

Please sign in to comment.