Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Polishingbefore opensourcing
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Benas committed Mar 16, 2016
1 parent 1798cf0 commit 2023cc4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
4 changes: 4 additions & 0 deletions LICENSE.TXT
@@ -1,3 +1,7 @@
sg-manager

BSD License

Copyright (c) 2013, GoodData Corporation. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided
Expand Down
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -109,3 +109,6 @@ Mode depends on cloud used, for AWS EC2 *-a* is recommended, for AWS EC2 VPC *-v

## TODO
- support for VPC groups

## Development status
This tool is actively maintained by GoodData.
12 changes: 6 additions & 6 deletions setup.py
Expand Up @@ -8,14 +8,14 @@
name='sgmanager',
version='1.4.1',
packages=['sgmanager', 'sgmanager.logger', 'sgmanager.securitygroups'],
entry_points = {
'console_scripts': [ 'sgmanager = sgmanager.cli:main' ]
entry_points={
'console_scripts': ['sgmanager = sgmanager.cli:main']
},
license='BSD',
author='Filip Pytloun',
author_email='filip.pytloun@gooddata.com',
maintainer='Filip Pytloun',
maintainer_email='filip@pytloun.cz',
author='GoodData Corporation',
author_email='python@gooddata.com',
maintainer='Petr Benas',
maintainer_email='petr.benas@gooddata.com',
description='Security Groups Management Tool',
long_description='Tooling for management of security groups. Load local configuration, load remote groups and apply differences.',
url='https://github.com/gooddata/sgmanager',
Expand Down
8 changes: 5 additions & 3 deletions sgmanager/logger/level_handler.py
@@ -1,13 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2007-2013, GoodData(R) Corporation. All rights reserved
"""
Not mine, found over there:
based on
http://code.activestate.com/recipes/576819-logging-to-console-without-surprises/
Licensed under the MIT License and slightly modified.
"""

import logging
import sys


class LevelHandler(logging.StreamHandler):
"""A handler that logs to console in the sensible way.
Expand Down

0 comments on commit 2023cc4

Please sign in to comment.