[Python-modules-commits] r1598 - /packages/python-django/trunk/debian/patches/02_add_shebang_to_manage.py.diff

brettp-guest at users.alioth.debian.org brettp-guest at users.alioth.debian.org
Wed Dec 6 08:08:07 CET 2006


Author: brettp-guest
Date: Wed Dec  6 08:08:06 2006
New Revision: 1598

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1598
Log:
add missing part of patch file

Modified:
    packages/python-django/trunk/debian/patches/02_add_shebang_to_manage.py.diff

Modified: packages/python-django/trunk/debian/patches/02_add_shebang_to_manage.py.diff
URL: http://svn.debian.org/wsvn/python-modules/packages/python-django/trunk/debian/patches/02_add_shebang_to_manage.py.diff?rev=1598&op=diff
==============================================================================
--- packages/python-django/trunk/debian/patches/02_add_shebang_to_manage.py.diff (original)
+++ packages/python-django/trunk/debian/patches/02_add_shebang_to_manage.py.diff Wed Dec  6 08:08:06 2006
@@ -23,3 +23,8 @@
 +                os.chmod(path_new, 0755)
 +            else:
 +                shutil.copymode(path_old, path_new)
+ 
+ def startproject(project_name, directory):
+     "Creates a Django project for the given project_name in the given directory."
+     from random import choice
+




More information about the Python-modules-commits mailing list