Skip to content

Commit

Permalink
Fix python 2.6 compatibility
Browse files Browse the repository at this point in the history
list.copy() is 2.7+
  • Loading branch information
Antoine Bertin committed Jun 3, 2012
1 parent 096cd5e commit d00e690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subliminal/core.py
Expand Up @@ -261,7 +261,7 @@ def filter_services(services):
:rtype: list
"""
filtered_services = services.copy()
filtered_services = services[:]
for service_name in services:
mod = __import__('services.' + service_name, globals=globals(), locals=locals(), fromlist=['Service'], level=-1)
service = mod.Service
Expand Down

0 comments on commit d00e690

Please sign in to comment.