Commit 300566f3 authored by peastman's avatar peastman
Browse files

Merge pull request #1080 from peastman/exec

Fixed errors executing force field scripts on Python 3
parents 0f611850 a5415e25
...@@ -532,7 +532,7 @@ class ForceField(object): ...@@ -532,7 +532,7 @@ class ForceField(object):
# Execute scripts found in the XML files. # Execute scripts found in the XML files.
for script in self._scripts: for script in self._scripts:
exec script exec(script, locals())
return sys return sys
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment