[yt-svn] commit/yt: MatthewTurk: Fixing function invocation in funcs.py for getting the hg version.

Bitbucket commits-noreply at bitbucket.org
Sat Jan 14 03:52:08 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/911d456c3e19/
changeset:   911d456c3e19
branch:      yt
user:        MatthewTurk
date:        2012-01-14 12:36:56
summary:     Fixing function invocation in funcs.py for getting the hg version.
affected #:  1 file

diff -r 5bed6c2bbffec7e3c68daa1e87589257ef300044 -r 911d456c3e1973ccc31c0c683456a724e5712a32 yt/funcs.py
--- a/yt/funcs.py
+++ b/yt/funcs.py
@@ -471,9 +471,11 @@
     import pkg_resources
     yt_provider = pkg_resources.get_provider("yt")
     path = os.path.dirname(yt_provider.module_path)
-    version = _get_hg_version(path)[:12]
+    version = get_hg_version(path)[:12]
     return version
 
+
+
 # This code snippet is modified from Georg Brandl
 def bb_apicall(endpoint, data, use_pass = True):
     import urllib, urllib2

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list