Mercurial > pylearn
view __init__.py @ 324:ce79bf5fa463
- the cut and paste between file and dir conditions is always a bad thing
- i made one function (hg_version) to basically call and parse hg
- i made a function to include the cases of what might be returned by
imp.find_modules (_input_id)
- the check for a .hg folder was insufficient. Lots of things could go wrong.
Instead I use the return code from the Popen process. The return code
catches this and any other problem that hg runs into.
- its easier to offer more rcs support in future (cvs,svn,git)
author | James Bergstra <bergstrj@iro.umontreal.ca> |
---|---|
date | Thu, 12 Jun 2008 20:54:49 -0400 |
parents | 9ebc960260c5 |
children | 18dbc1c11647 |
line wrap: on
line source
import filetensor import nnet_ops import version from lookup_list import LookupList def __src_version__(): #todo - this is vulnerable to the bug in theano ticket #160 return version.src_version(__name__)