segfaulthunter / pypentago-mainline
pypentago is an open source effort to recreate the board-game Pentago using Python.
Clone this repository (size: 1.1 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/segfaulthunter/pypentago-mainline/
| commit 422: | e9cf21dade77 |
| parent 421: | b93dc0bc7596 |
| branch: | default |
Fix indention.
Changed (Δ12 bytes):
raw changeset »
src/pypentago/client/interface/server.py (3 lines added, 3 lines removed)
Up to file-list src/pypentago/client/interface/server.py:
| … | … | @@ -453,7 +453,7 @@ class ServerBrowser(QtGui.QWidget): |
453 |
453 |
config = conf.possible_configs('client.ini').next() |
454 |
454 |
parser = ConfigParser() |
455 |
455 |
parser.read(config) |
456 |
||
456 |
||
457 |
457 |
for section in parser.sections(): |
458 |
458 |
if section not in ['client', 'servers']: |
459 |
459 |
parser.remove_section(section) |
| … | … | @@ -463,8 +463,8 @@ class ServerBrowser(QtGui.QWidget): |
463 |
463 |
|
464 |
464 |
with open(config, 'w') as fp: |
465 |
465 |
parser.write(fp) |
466 |
||
467 |
||
466 |
||
467 |
||
468 |
468 |
if __name__ == '__main__': |
469 |
469 |
config = ConfigParser() |
470 |
470 |
config.read(conf.possible_configs('client.ini')) |
