1) Replace this if-then-else statement by a single return statement. (clumsy) 2) 'switch' statements should have at least 3 'case' clauses. (bad practice) |
||
|---|---|---|
| .. | ||
| databases | ||
| pgagent | ||
| resource_groups | ||
| roles | ||
| static | ||
| tablespaces | ||
| templates | ||
| tests | ||
| __init__.py | ||
| gpdb.py | ||
| ppas.py | ||
| types.py | ||
| utils.py | ||