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