From 5b92d712f495f14f5723ba1c93defe380d9e9323 Mon Sep 17 00:00:00 2001 From: Massimo Date: Thu, 17 Jan 2013 11:08:32 -0600 Subject: [PATCH] fixed issue 1279, sys.prefix in tickets, thanks mjmare --- VERSION | 2 +- gluon/restricted.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 62353f59..90491d6f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.17.11.00.19 +Version 2.4.1-alpha.2+timestamp.2013.01.17.11.08.02 diff --git a/gluon/restricted.py b/gluon/restricted.py index 0416dea2..c6649601 100644 --- a/gluon/restricted.py +++ b/gluon/restricted.py @@ -243,7 +243,7 @@ def snapshot(info=None, context=5, code=None, environment=None): # create a snapshot dict with some basic information s = {} - s['pyver'] = 'Python ' + sys.version.split()[0] + ': ' + sys.executable + s['pyver'] = 'Python ' + sys.version.split()[0] + ': ' + sys.executable + ' (prefix: %s)' % sys.prefix s['date'] = time.ctime(time.time()) # start to process frames