Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.0.X] We don't need to put the 'final' bit in the version number, a…

…nd it messes up some pypi stuff. Backport of [11358] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b8997d66be0420c78ecc0c73efeecc1e06cbfc97 1 parent df7f917
James Bennett authored July 29, 2009

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  django/__init__.py
3  django/__init__.py
@@ -7,9 +7,8 @@ def get_version():
7 7
     if VERSION[3:] == ('alpha', 0):
8 8
         version = '%s pre-alpha' % version
9 9
     else:
10  
-        version = '%s %s' % (version, VERSION[3])
11 10
         if VERSION[3] != 'final':
12  
-            version = '%s %s' % (version, VERSION[4])
  11
+            version = '%s %s %s' % (version, VERSION[3], VERSION[4])
13 12
     from django.utils.version import get_svn_revision
14 13
     svn_rev = get_svn_revision()
15 14
     if svn_rev != u'SVN-unknown':

0 notes on commit b8997d6

Please sign in to comment.
Something went wrong with that request. Please try again.