Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit d4a84f5b authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

Fix hash comparison for group fetch. Also put Zekes comma back.

parent abca8a08
......@@ -191,7 +191,7 @@ class MCommGroup:
group['owners_details'] = group.pop('owners')
tmp_hash = hashlib.md5(json.dumps(group).encode('utf-8'))
if hasattr(self, 'group_hash'):
if tmp_hash == self.group_hash:
if tmp_hash.hexdigest() == self.group_hash.hexdigest():
sleep(2**i)
continue
if 'umichgroup' in group['objectClass']:
......
......@@ -29,7 +29,7 @@ setup(
packages=find_packages(),
install_requires=[
'requests',
'ldap3'
'ldap3',
],
setup_requires=[
'pytest-runner',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment