Previously, it worked for Counter.py but not for collections.
Change-Id: I0fff144b0c261b47ce40a03766281f9df642f277
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
try:
from collections import Counter
except ImportError: # Python 2.6 does not have Counter in collections.
- import Counter # Assumes that user copies Counter.py around.
+ from Counter import Counter # Assumes that user copies Counter.py around.
import AuthStandalone
"""Counter which also knows how many items are left to be added."""
def __init__(self, tasks):
- self.counter = Counter.Counter()
+ self.counter = Counter()
self.opened = tasks
def add(self, result):