[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Add copyright notice and g/c some unused code.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID e991ec23c3181136bb78b761053a0a6ea641eac1
# Parent  a75b08af8d198ddb31ea66a054f4b6ade5fe4137
Add copyright notice and g/c some unused code.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r a75b08af8d19 -r e991ec23c318 tools/python/xen/xend/xenstore/xswatch.py
--- a/tools/python/xen/xend/xenstore/xswatch.py Wed Sep  7 12:48:11 2005
+++ b/tools/python/xen/xend/xenstore/xswatch.py Wed Sep  7 12:49:52 2005
@@ -1,3 +1,8 @@
+# Copyright (C) 2005 Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
+
+# This file is subject to the terms and conditions of the GNU General
+# Public License.  See the file "COPYING" in the main directory of
+# this archive for more details.
 
 import select
 import threading
@@ -9,7 +14,6 @@
     threadcond = threading.Condition()
     xs = None
     xslock = threading.Lock()
-    watches = []
     
     def __init__(self, path, fn, args=(), kwargs={}):
         self.fn = fn
@@ -19,7 +23,6 @@
         xswatch.xslock.acquire()
         xswatch.xs.watch(path, self)
         xswatch.xslock.release()
-        xswatch.watches.append(self)
 
     def watchStart(cls):
         cls.threadcond.acquire()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.