Rename exportTo -> export

Because exportTo doesn't make sense if there is no parameter to which we're exporting.

Contributes to issue CURA-844.
This commit is contained in:
Ghostkeeper 2016-04-28 12:29:14 +02:00
parent f2f993916d
commit f7ca489877
3 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ class MachineInstance:
#
# \return A serialised form of this machine instance, serialised in
# version 2 of the file format.
def exportTo(self):
def export(self):
import VersionUpgrade21to22 # Import here to prevent circular dependencies.
config = configparser.ConfigParser(interpolation = None) # Build a config file in the form of version 2.