| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,7 +9,7 @@ | |||
| 9 | 9 | import re | |
| 10 | 10 | ||
| 11 | 11 | from git.cmd import handle_process_output, Git | |
| 12 | - from git.compat import (defenc, force_text, is_win) | ||
| 12 | + from git.compat import (defenc, force_text) | ||
| 13 | 13 | from git.exc import GitCommandError | |
| 14 | 14 | from git.util import ( | |
| 15 | 15 | LazyMixin, | |
@@ -414,15 +414,6 @@ def __init__(self, repo, name): | |||
| 414 | 414 | self.repo = repo # type: 'Repo' | |
| 415 | 415 | self.name = name | |
| 416 | 416 | ||
| 417 | - if is_win: | ||
| 418 | - # some oddity: on windows, python 2.5, it for some reason does not realize | ||
| 419 | - # that it has the config_writer property, but instead calls __getattr__ | ||
| 420 | - # which will not yield the expected results. 'pinging' the members | ||
| 421 | - # with a dir call creates the config_writer property that we require | ||
| 422 | - # ... bugs like these make me wonder whether python really wants to be used | ||
| 423 | - # for production. It doesn't happen on linux though. | ||
| 424 | - dir(self) | ||
| 425 | - # END windows special handling | ||
| 426 | 417 | ||
| 427 | 418 | def __getattr__(self, attr): | |
| 428 | 419 | """Allows to call this instance like | |
| Back | FazBrowse Home | New Git URL |
0 commit comments