[jhbuild/desktop-testing] [ldtp] Fix stupid typo in Xvfb handling



commit f9e78b539d17a446f5a331e9e6234a21a85d635f
Author: John Carr <john carr unrouted co uk>
Date:   Tue May 19 19:29:09 2009 +0100

    [ldtp] Fix stupid typo in Xvfb handling
---
 jhbuild/utils/xvfb.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/jhbuild/utils/xvfb.py b/jhbuild/utils/xvfb.py
index 0d5f1c2..948c39f 100644
--- a/jhbuild/utils/xvfb.py
+++ b/jhbuild/utils/xvfb.py
@@ -96,8 +96,8 @@ class XvfbWrapper(object):
         old_xauth = os.environ.get('XAUTHORITY')
 
         try:
-            method(*args, **kwargs)
             self._start()
+            method(*args, **kwargs)
         finally:
             self._stop()
             if old_xauth:



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