Browse files

used double quotes in re.search

  • Loading branch information...
1 parent e77d92e commit 955924dac382b93ba760ce7719bfa236425563b1 @DNX committed Dec 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 pinax/core/management/commands/setup_project.py
View
2 pinax/core/management/commands/setup_project.py
@@ -92,7 +92,7 @@ def setup_project(self, destination, base, options):
user_project_name = os.path.basename(destination)
- if not re.search(r'^\w+$', user_project_name):
+ if not re.search(r"^\w+$", user_project_name):
sys.stderr.write("Error: %r is not a valid app name. Please use only numbers, letters and underscores.\n" % (user_project_name))
sys.exit(1)

0 comments on commit 955924d

Please sign in to comment.