Skip to content

Commit

Permalink
added the environment native source which actually makes a lot more s…
Browse files Browse the repository at this point in the history
…ense
  • Loading branch information
txbm committed Apr 28, 2013
1 parent 1fe7956 commit f8a89af
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions flask_aconfig.py
Expand Up @@ -53,8 +53,12 @@ def load(self, app):

class Source(object):

def load(self, app):
pass
def load(self): pass

class Environment(Source):

def load(self):
return os.environ.copy()

class Yaml(Source):

Expand Down

0 comments on commit f8a89af

Please sign in to comment.