Topic: Python syntax errors
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9, 1.0-beta1
- Deployed with iRedMail Easy or the downloadable installer? Stand alone
- Linux/BSD distribution name and version: FreeBSD (Any)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL (Any)
- Web server (Apache or Nginx): Nginx (Any)
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
iRedMail-1.0-beta1 $ grep -R " e:" *
tools/generate_password_hash.py: except ImportError, e:
tools/ldap_assign_user_to_groups.py:except Exception, e:
tools/ldap_move_members_to_another_group.py: except Exception, e:
tools/migrate_sql_alias_table.py:except Exception, e:
tools/migrate_sql_alias_table.py: except Exception, e:
tools/migrate_sql_alias_table.py: except Exception, e:
tools/migrate_sql_alias_table.py: except Exception, e:
The correct syntax is:
except Exception as e:
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.