summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--py/mock/backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mock/backend.py b/py/mock/backend.py
index 04e1b1a..a38fb9c 100644
--- a/py/mock/backend.py
+++ b/py/mock/backend.py
@@ -331,7 +331,7 @@ class Root(object):
mountopt = 'gid=%d,mode=620' % grp.getgrnam('tty').gr_gid
if os.uname()[2] >= '2.6.29':
- mountopt +== ',newinstance'
+ mountopt += ',newinstance'
for devMntCmd in (
'mount -n -t devpts -o %s mock_chroot_devpts %s' % (mountopt, self.makeChrootPath('/dev/pts')),