Mercurial > hg > Feedworm
comparison backend/sqlalchemy/Mapping.py @ 233:e34c53a3e407
fixes from eric's style check
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 25 Sep 2014 17:26:34 +0200 |
parents | bb3c851b18b1 |
children | 8e73a8ae863f |
comparison
equal
deleted
inserted
replaced
232:18865de3a87d | 233:e34c53a3e407 |
---|---|
16 | 16 |
17 mappingDefined = False | 17 mappingDefined = False |
18 feedEntryTable = None | 18 feedEntryTable = None |
19 | 19 |
20 def createMapping(engine): | 20 def createMapping(engine): |
21 """ Make sure the mapping is defined only once. This is not really needed for the feed updater | 21 """ |
22 or the GUI app but comes in handy when working interactively with the system. """ | 22 Make sure the mapping is defined only once. This is not really needed for the feed updater |
23 or the GUI app but comes in handy when working interactively with the system. | |
24 """ | |
23 global mappingDefined | 25 global mappingDefined |
24 if not mappingDefined: | 26 if not mappingDefined: |
25 _createMapping(engine) | 27 _createMapping(engine) |
26 mappingDefined = True | 28 mappingDefined = True |
27 | 29 |