Skip to content

Commit

Permalink
phiggy changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtiss committed Nov 6, 2010
1 parent 2e1cac5 commit 27710ad
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 463 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
'Topic :: Software Development :: Libraries :: Python Modules'
],
install_requires = [
# 'confy',
# 'tornado',
# 'pymongo',
# 'memcache'
Expand Down
4 changes: 2 additions & 2 deletions shrapnel/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""

import bisect
import config
import confy
import functools
import itertools
import os
Expand Down Expand Up @@ -67,7 +67,7 @@ def decorated(*args, **kwargs):
if not type(generator) == types.GeneratorType:
raise_error("It must return a generator.")

mc = config.instance("memcache.{0}".format(memcached_instance))
mc = confy.instance("memcache.{0}".format(memcached_instance))

if not callable(getattr(mc, 'get', None)) or not callable(getattr(mc, 'set', None)):
raise_error("The <memcached> instance for this function must support the .get(...) and .set(...) methods.")
Expand Down
1 change: 0 additions & 1 deletion shrapnel/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
Copyright (c) 2010 Medium Entertainment, Inc. All rights reserved.
"""

from shrapnel import config
import logging
import logging.handlers
import optparse
Expand Down
237 changes: 0 additions & 237 deletions shrapnel/config.py

This file was deleted.

Loading

0 comments on commit 27710ad

Please sign in to comment.