From 90f6c5d936cafdc51639b251591a909696ea4935 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Mon, 11 Apr 2016 17:33:49 +0200 Subject: [PATCH] remove "import *" --- librarian/picture.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/librarian/picture.py b/librarian/picture.py index dbbb4de..1aa1d07 100644 --- a/librarian/picture.py +++ b/librarian/picture.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +from operator import and_ + from dcparser import Field, WorkInfo, DCNS from librarian import (RDFNS, ValidationError, NoDublinCore, ParseError, WLURI) from xml.parsers.expat import ExpatError @@ -7,8 +9,6 @@ from StringIO import StringIO from lxml import etree from lxml.etree import (XMLSyntaxError, XSLTApplyError, Element) import re -from functools import * -from operator import * class WLPictureURI(WLURI): @@ -96,6 +96,7 @@ class WLPicture(object): self.picture_info = PictureInfo.from_element(self.rdf_elem) else: self.picture_info = None + self.frame = None @classmethod def from_string(cls, xml, *args, **kwargs): -- 2.20.1