Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Exclude database-wide objects from yamltodb -n. Fixes #21.

  • Loading branch information...
commit f522408c39238f834bc318bd1cfe43c4f2a54840 1 parent f82fa60
@jmafc jmafc authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  pyrseas/
3  pyrseas/
@@ -106,6 +106,9 @@ def _trim_objects(self, schemas):
for sch in self.db.schemas.keys():
if sch not in schemas:
del self.db.schemas[sch]
+ # exclude database-wide objects
+ self.db.languages = LanguageDict()
+ self.db.casts = CastDict()
def from_catalog(self):
"""Populate the database objects by querying the catalogs
Please sign in to comment.
Something went wrong with that request. Please try again.