View | Details | Raw Unified | Return to bug 36106 | Differences between
and this patch

Collapse All | Expand All

(-)uvmm/node.py.bak (-1 / +2 lines)
 Lines 55-60    Link Here 
55
import fnmatch
55
import fnmatch
56
import re
56
import re
57
import random
57
import random
58
import shutil
58
from xml.sax.saxutils import escape as xml_escape
59
from xml.sax.saxutils import escape as xml_escape
59
import tempfile
60
import tempfile
60
try:
61
try:
 Lines 786-792    Link Here 
786
				if gfx.port <= 0:
787
				if gfx.port <= 0:
787
					continue
788
					continue
788
				print >> tmp_file, '%s: %s:%d' % (uuid, self.pd.name, gfx.port)
789
				print >> tmp_file, '%s: %s:%d' % (uuid, self.pd.name, gfx.port)
789
		os.rename(tmp_file.name, path)
790
		shutil.move(tmp_file.name, path)
790
791
791
	def wait_update(self, domain, state_key, timeout=10):
792
	def wait_update(self, domain, state_key, timeout=10):
792
		"""Wait until domain gets updated."""
793
		"""Wait until domain gets updated."""

Return to bug 36106