Skip to content

Commit

Permalink
Add dependency declarations and some extra logging
Browse files Browse the repository at this point in the history
* setup.py now lists web.py and lxml==2.3.4 as dependencies
* the ingesters_disseminators.py now logs (in debug mode) the incoming atom (default repository implementation only)



git-svn-id: http://sword-app.svn.sourceforge.net/svnroot/sword-app/sss/branches/sss-2@502 2bf6ea0f-123d-0410-b71a-f1a21eb24612
  • Loading branch information
richard-jones committed Apr 25, 2012
1 parent d934309 commit 6044de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
author_email='rich.d.jones@gmail.com', author_email='rich.d.jones@gmail.com',
url='http://www.swordapp.org/', url='http://www.swordapp.org/',
packages=find_packages(exclude=['tests']), packages=find_packages(exclude=['tests']),
setup_requires=["web.py", "lxml==2.3.4"]
) )
1 change: 1 addition & 0 deletions sss/ingesters_disseminators.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def ingest(self, collection, id, atom, additive=False):


ssslog.debug("Existing Metadata (before new ingest): " + str(metadata)) ssslog.debug("Existing Metadata (before new ingest): " + str(metadata))


ssslog.debug("Incoming atom: " + atom)
entry = etree.fromstring(atom) entry = etree.fromstring(atom)


# go through each element in the atom entry and just process the ones we care about # go through each element in the atom entry and just process the ones we care about
Expand Down

0 comments on commit 6044de5

Please sign in to comment.