major = 0
minor = 4
micro = 3

#try:
#    from __svn_version__ import version as svn_revision
#    scipy_version = '%(major)d.%(minor)d.%(micro)d_%(svn_revision)s'\
#                    % (locals ())
#except ImportError,msg:
#    svn_revision = 0
scipy_version = '%(major)d.%(minor)d.%(micro)d' % (locals ())


major = 0
minor = 4
micro = 3

scipy_version = '%(major)d.%(minor)d.%(micro)d' % (locals ())

import os
svn_version_file = os.path.join(os.path.dirname(__file__),
                                '__svn_version__.py')

if os.path.isfile(svn_version_file):
    import imp
    svn = imp.load_module('scipy.__svn_version__',
                          open(svn_version_file),
                          svn_version_file,
                          ('.py','U',1))
    scipy_version += '.'+svn.version


Fix the scipy version display.
Fix the scipy version display.

  major = 0
  minor = 4
  micro = 3
  
- #try:
- #    from __svn_version__ import version as svn_revision
- #    scipy_version = '%(major)d.%(minor)d.%(micro)d_%(svn_revision)s'\
- #                    % (locals ())
- #except ImportError,msg:
- #    svn_revision = 0
  scipy_version = '%(major)d.%(minor)d.%(micro)d' % (locals ())
  
+ import os
+ svn_version_file = os.path.join(os.path.dirname(__file__),
+                                 '__svn_version__.py')
  
+ if os.path.isfile(svn_version_file):
+     import imp
+     svn = imp.load_module('scipy.__svn_version__',
+                           open(svn_version_file),
+                           svn_version_file,
+                           ('.py','U',1))
+     scipy_version += '.'+svn.version
+ 
+ 
Fix the scipy version display.
## Code Before:
major = 0
minor = 4
micro = 3

#try:
#    from __svn_version__ import version as svn_revision
#    scipy_version = '%(major)d.%(minor)d.%(micro)d_%(svn_revision)s'\
#                    % (locals ())
#except ImportError,msg:
#    svn_revision = 0
scipy_version = '%(major)d.%(minor)d.%(micro)d' % (locals ())


## Instruction:
Fix the scipy version display.
## Code After:
major = 0
minor = 4
micro = 3

scipy_version = '%(major)d.%(minor)d.%(micro)d' % (locals ())

import os
svn_version_file = os.path.join(os.path.dirname(__file__),
                                '__svn_version__.py')

if os.path.isfile(svn_version_file):
    import imp
    svn = imp.load_module('scipy.__svn_version__',
                          open(svn_version_file),
                          svn_version_file,
                          ('.py','U',1))
    scipy_version += '.'+svn.version

