Commit 3ed4d7af authored by Andreas Jung's avatar Andreas Jung

reverted wrong update into trunk

parent 201955fc
...@@ -84,14 +84,13 @@ ...@@ -84,14 +84,13 @@
############################################################################## ##############################################################################
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.153 2001/06/19 15:33:10 andreas Exp $''' $Id: Application.py,v 1.154 2001/06/19 23:21:18 andreas Exp $'''
__version__='$Revision: 1.153 $'[11:-2] __version__='$Revision: 1.154 $'[11:-2]
import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_ import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_
import time, traceback, os, string, Products import time, traceback, os, string, Products
from string import strip, lower, find, rfind, join from string import strip, lower, find, rfind, join
from DateTime import DateTime
import DateTime
from AccessControl.User import UserFolder from AccessControl.User import UserFolder
from App.ApplicationManager import ApplicationManager from App.ApplicationManager import ApplicationManager
from webdav.NullResource import NullResource from webdav.NullResource import NullResource
...@@ -248,8 +247,7 @@ class Application(Globals.ApplicationDefaultPermissions, ...@@ -248,8 +247,7 @@ class Application(Globals.ApplicationDefaultPermissions,
def PrincipiaTime(self, *args): def PrincipiaTime(self, *args):
"""Utility function to return current date/time""" """Utility function to return current date/time"""
if len(args)==0: return DateTime.newDateTime() return apply(DateTime, args)
else: return apply(DateTime.newDateTime, args)
ZopeTime=PrincipiaTime ZopeTime=PrincipiaTime
ZopeAttributionButton__roles__=None ZopeAttributionButton__roles__=None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment