Jelmer Vernooij
|
17d644de8e
Convert repo to python3.
|
vor 10 Jahren |
Jelmer Vernooij
|
60263333a7
Port dulwich.config to python3.
|
vor 10 Jahren |
Jelmer Vernooij
|
27b20e377b
Reintroduce Python2.6 support.
|
vor 11 Jahren |
Gary van der Merwe
|
692aa9914a
Use with statement rather than try: finaly: x.close().
|
vor 11 Jahren |
Jelmer Vernooij
|
5a4e20d14b
Add pep8 make target and fix some pep8ness.
|
vor 11 Jahren |
Gary van der Merwe
|
9a4001c460
Use collections.MutableMapping instead of UserDict.DictMixin
|
vor 12 Jahren |
Jelmer Vernooij
|
080000bc8d
Drop support for Python < 2.7.
|
vor 12 Jahren |
Jelmer Vernooij
|
87303b1590
Use new style exception handling in a few more places.
|
vor 12 Jahren |
Jelmer Vernooij
|
c26bb196f5
Fix docstring for StackedConfig.default_backends().
|
vor 12 Jahren |
Jelmer Vernooij
|
c42e47b57c
Update some copyright headers.
|
vor 12 Jahren |
Jelmer Vernooij
|
f3836f3650
Add ConfigDict.itersections.
|
vor 12 Jahren |
Jelmer Vernooij
|
46c4b29e46
Reimplement iteritems.
|
vor 12 Jahren |
Jelmer Vernooij
|
c8e705ac52
Provide OrderedDict fallback for Python < 2.6, fix test.
|
vor 12 Jahren |
Benjamin Pollack
|
54c9fd66da
Preserve the order of configuration files.
|
vor 13 Jahren |
Jelmer Vernooij
|
a186cc52e3
Fix PEP8 compatibility of setup.py.
|
vor 12 Jahren |
Jelmer Vernooij
|
60742876dd
Use indentation in config file consistent with C Git.
|
vor 12 Jahren |
Adam 'Cezar' Jenkins
|
16af611e8b
Wrote tests for the ConfigDict dict changes
|
vor 13 Jahren |
Adam "Cezar" Jenkins
|
508abf0f63
ConfigDict should act like a dictionary
|
vor 13 Jahren |
Jelmer Vernooij
|
312a436698
Options on the same line as sections in config files are now supported. #920553
|
vor 14 Jahren |
Jelmer Vernooij
|
ac74d2d98b
Add writable argument to StackedConfig.
|
vor 14 Jahren |
Jelmer Vernooij
|
3577f2d329
Add tests for default git config file.
|
vor 14 Jahren |
Jelmer Vernooij
|
a1b4b45b63
Provide Config.get_boolean.
|
vor 14 Jahren |
Jelmer Vernooij
|
2704f944bd
Make section names and variable names case insensitive.
|
vor 14 Jahren |
Jelmer Vernooij
|
cb42ef5189
Fix parsing of comments.
|
vor 14 Jahren |
Jelmer Vernooij
|
70ab782fe1
Simplify some code, add tests for boolean settings without = sign.
|
vor 14 Jahren |
Jelmer Vernooij
|
dafd66f286
Add checking of section names.
|
vor 14 Jahren |
Jelmer Vernooij
|
ee6001bc00
Add checking of variable names.
|
vor 14 Jahren |
Jelmer Vernooij
|
5fafded115
Simplify section handling.
|
vor 14 Jahren |
Jelmer Vernooij
|
73041fd029
Fix section parsing.
|
vor 14 Jahren |
Jelmer Vernooij
|
0ffdc4d601
Fix formatting/parsing.
|
vor 14 Jahren |