Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing CHACHE_DIR in CLI does not fully work #72

Open
hajgato opened this issue Jun 4, 2020 · 0 comments
Open

changing CHACHE_DIR in CLI does not fully work #72

hajgato opened this issue Jun 4, 2020 · 0 comments

Comments

@hajgato
Copy link

hajgato commented Jun 4, 2020

simple code:

from vsc.utils.script_tools import CLI

class SimpleTest(CLI):

    CACHE_DIR = '/tmp'
    
    def do(self, dry_run):
       pass

 
if __name__ == '__main__':
    do = SimpleTest()
    do.main()

generates the timestamp in /tmp, but the NagiosReporter does not obey it (still uses /var/cache)

@hajgato hajgato changed the title changing CHACHE_DIR in CLI does not fully works changing CHACHE_DIR in CLI does not fully work Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant