zenoss / ZenPacks.zenoss.PostgreSQL

PostgreSQL Monitoring
GNU General Public License v2.0
8 stars 7 forks source link

Correct relative imports in poll_postgres.py #29

Closed momelchuk closed 3 years ago

momelchuk commented 3 years ago

Fixes ZPS-6818

After moving the script poll_postgres.py to a separate directory, it was not able to import the dependent classes, because it was running in an isolated shell. As a solution, parent directory added to PYTHONPATH