Changeset - deee5bad57ec
[Not reviewed]
0 2 0
Brett Smith - 3 years ago 2020-11-09 22:11:51
brettcsmith@brettcsmith.org
brightfunds: Remove unused code.
2 files changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
import2ledger/importers/brightfunds.py
Show inline comments
 
import collections
 

	
 
from . import _csv
 
from . import _xls
 
from .. import strparse
 

	
 
class _BrightFundsMixin:
 
    DATE_FMT = '%m/%d/%y'
...
 
@@ -33,13 +31,12 @@ class _BrightFundsMixin:
 
        if not (row['Amount'] and row[self.DATE_FIELD]):
 
            return None
 
        entry_data = {
 
            entry_key: self._get_value(row[row_key])
 
            for row_key, entry_key in self.FIELDS_TO_COPY.items()
 
        }
 
        print(entry_data, row['Amount'])
 
        names = []
 
        for key in self.NAME_KEYS:
 
            name = entry_data[key].strip()
 
            entry_data[key] = name
 
            if name:
 
                names.append(name)
setup.py
Show inline comments
...
 
@@ -27,13 +27,13 @@ REQUIREMENTS['tests_require'] = [
 
    *all_extras_require,
 
]
 

	
 
setup(
 
    name='import2ledger',
 
    description="Import different sources of financial data to Ledger",
 
    version='1.3.0',
 
    version='1.3.1',
 
    author='Brett Smith',
 
    author_email='brettcsmith@brettcsmith.org',
 
    license='GNU AGPLv3+',
 

	
 
    packages=find_packages(include=['import2ledger', 'import2ledger.*']),
 
    entry_points={
0 comments (0 inline, 0 general)