diff options
Diffstat (limited to 'project.py')
| -rw-r--r-- | project.py | 3 |
1 files changed, 0 insertions, 3 deletions
| @@ -3125,9 +3125,6 @@ class Project(object): | |||
| 3125 | raise TypeError('%s() got an unexpected keyword argument %r' | 3125 | raise TypeError('%s() got an unexpected keyword argument %r' |
| 3126 | % (name, k)) | 3126 | % (name, k)) |
| 3127 | if config is not None: | 3127 | if config is not None: |
| 3128 | if not git_require((1, 7, 2)): | ||
| 3129 | raise ValueError('cannot set config on command line for %s()' | ||
| 3130 | % name) | ||
| 3131 | for k, v in config.items(): | 3128 | for k, v in config.items(): |
| 3132 | cmdv.append('-c') | 3129 | cmdv.append('-c') |
| 3133 | cmdv.append('%s=%s' % (k, v)) | 3130 | cmdv.append('%s=%s' % (k, v)) |
