diff --git twisted/python/util.py twisted/python/util.py
index ee4cc8a..2c7529f 100644
|
|
|
|
| 561 | 561 | return not result |
| 562 | 562 | |
| 563 | 563 | |
| 564 | | |
| 565 | 564 | try: |
| 566 | | from twisted.python._initgroups import initgroups as _c_initgroups |
| 567 | | except ImportError: |
| 568 | | _c_initgroups = None |
| | 565 | from os import initgroups as _c_initgroups |
| | 566 | except ImportError: # Python 2.6 or lower |
| | 567 | try: |
| | 568 | from twisted.python._initgroups import initgroups as _c_initgroups |
| | 569 | except ImportError: |
| | 570 | _c_initgroups = None |
| 569 | 571 | |
| 570 | 572 | |
| 571 | 573 | |