Subversion Repositories SmartDukaan

Rev

Rev 13677 | Rev 13690 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13677 Rev 13678
Line 28... Line 28...
28
    try:
28
    try:
29
        module = importlib.import_module("dtr.sources." + sourceMap[source_id])
29
        module = importlib.import_module("dtr.sources." + sourceMap[source_id])
30
        store = getattr(module, "Store")(source_id)
30
        store = getattr(module, "Store")(source_id)
31
        return store
31
        return store
32
    except:
32
    except:
33
        traceback.print_exc()
33
        #traceback.print_exc()
34
        return None
34
        return None
35
 
35
 
36
class ScrapeException(Exception):
36
class ScrapeException(Exception):
37
    """Exception raised for errors in the input.
37
    """Exception raised for errors in the input.
38
 
38