Show More
@@ -1331,7 +1331,7 b' class Test(unittest.TestCase):' | |||
|
1331 | 1331 | |
|
1332 | 1332 | extraextensions = [] |
|
1333 | 1333 | for opt in self._extraconfigopts: |
|
1334 |
section, key = opt |
|
|
1334 | section, key = _sys2bytes(opt).split(b'.', 1) | |
|
1335 | 1335 | if section != 'extensions': |
|
1336 | 1336 | continue |
|
1337 | 1337 | name = key.split(b'=', 1)[0] |
@@ -1432,7 +1432,7 b' class Test(unittest.TestCase):' | |||
|
1432 | 1432 | hgrc.write(b'server-header = testing stub value\n') |
|
1433 | 1433 | |
|
1434 | 1434 | for opt in self._extraconfigopts: |
|
1435 |
section, key = opt |
|
|
1435 | section, key = _sys2bytes(opt).split(b'.', 1) | |
|
1436 | 1436 | assert b'=' in key, ( |
|
1437 | 1437 | 'extra config opt %s must ' 'have an = for assignment' % opt |
|
1438 | 1438 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now