Skip to content

Commit

Permalink
just because the version we have does not support creating xpra serve…
Browse files Browse the repository at this point in the history
…rs does not mean that another has not created a socket we can access, so drop the test/assert

git-svn-id: https://xpra.org/svn/Xpra/trunk@627 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 27, 2012
1 parent 8e0bdff commit fc0a9a0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/xpra/dotxpra.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@
import errno
import stat

from xpra.platform import XPRA_LOCAL_SERVERS_SUPPORTED

o0700 = 448 #0o700

class ServerSockInUse(Exception):
pass

class DotXpra(object):
def __init__(self, sockdir=None, confdir=None):
assert XPRA_LOCAL_SERVERS_SUPPORTED
self._confdir = os.path.expanduser(confdir or "~/.xpra")
self._sockdir = os.path.expanduser(sockdir or "~/.xpra")
if not os.path.exists(self._confdir):
Expand Down

0 comments on commit fc0a9a0

Please sign in to comment.