[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Added missing global statement, to ensure that the logfilename variable is
# HG changeset patch # User emellor@ewan # Node ID 90f4f4dc3f62393efc0fa01f11409065cc613c10 # Parent 1a4f8d6ddd1977f76bd30ce4ad5e1b29cfca1af1 Added missing global statement, to ensure that the logfilename variable is updated. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r 1a4f8d6ddd19 -r 90f4f4dc3f62 tools/python/xen/xend/XendLogging.py --- a/tools/python/xen/xend/XendLogging.py Tue Oct 11 09:32:03 2005 +++ b/tools/python/xen/xend/XendLogging.py Tue Oct 11 09:33:31 2005 @@ -49,6 +49,8 @@ stderr unless addLogStderr() is called. """ + global logfilename + def openFileHandler(fname): return logging.handlers.RotatingFileHandler(fname, mode='a', _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |