Skip to content

Commit

Permalink
Try with specific 3.4 version
Browse files Browse the repository at this point in the history
  • Loading branch information
PonteIneptique committed Dec 16, 2016
1 parent eaa121f commit 220769f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: python
python:
- "3.4"
- "3.4.5"
- "3.5"
- "pypy"
- "pypy3"
Expand Down
4 changes: 2 additions & 2 deletions MyCapytain/common/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from __future__ import unicode_literals
from six import text_type
from random import randint
from copy import deepcopy
from types import GeneratorType
from collections import defaultdict, OrderedDict
from MyCapytain.common.constants import Namespace, RDF_PREFIX, RDF_MAPPING, Mimetypes, Exportable
Expand Down Expand Up @@ -356,7 +357,6 @@ def __add__(self, other):
>>> b = Metadata(name="title")
>>> a + b == Metadata(name=["label", "title"])
"""
from copy import deepcopy
result = deepcopy(self)
for metadata_key, metadatum in other:
if metadata_key in self.__keys__:
Expand Down Expand Up @@ -395,7 +395,7 @@ def __getstate__(self):

def __setstate__(self, dic):
""" Unpickling method
:param dic: Dictionary with request valied
:param dic: Dictionary with request value
:return:
"""
self.metadata = defaultdict(Metadatum)
Expand Down

0 comments on commit 220769f

Please sign in to comment.