Skip to content

Instantly share code, notes, and snippets.

@nutjob4life
Created April 26, 2013 13:08
Show Gist options
  • Save nutjob4life/5467257 to your computer and use it in GitHub Desktop.
Save nutjob4life/5467257 to your computer and use it in GitHub Desktop.
Starting debugger (the name "app" is bound to the top-level Zope object)
2013-04-26 08:07:39 WARNING ZODB.blob (19647) Blob dir /private/tmp/1/var/blobstorage/ has insecure mode setting
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named globalrequest
>>> app.ZopeTime()
DateTime('2013/04/26 08:07:49.829079 GMT-5')
>>> import os
>>> os.environ['TZ'] = 'America/New_York'
>>> app.ZopeTime()
DateTime('2013/04/26 09:08:17.654373 GMT-5')
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment