On Mon, Jan 9, 2012 at 7:33 AM, Edward K. Ream <[email protected]> wrote:

> leoVersion.py uses the static_version (and static_date) constants when
> the file computed by the following code does not exist::

Leo has not inited the leoGlobals module when this code executes.  If
g were available the code would be something like (untested)::

    path = 
g.os_path_finalize_join(g.app.loadDir,'..','..','.bzr','branch','last-revision')

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to