diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-03-21 21:32:46 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-03-21 21:32:46 (GMT) |
commit | 1969d568bb440424d4128f627ac62ad3d5c62172 (patch) | |
tree | 40ed156eba97b82a94b6d6f5a1614d0457c79b8c /pysamples | |
parent | d686b77d0ef7411846981a4bb41acf1afb3e850b (diff) |
adding subdirectory TurtleArt to import paths
Diffstat (limited to 'pysamples')
-rw-r--r-- | pysamples/copy_from_heap.py | 2 | ||||
-rw-r--r-- | pysamples/load_journal_entry_to_heap.py | 2 | ||||
-rw-r--r-- | pysamples/save_heap_to_journal_entry.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pysamples/copy_from_heap.py b/pysamples/copy_from_heap.py index 23c4dac..ffa8ebd 100644 --- a/pysamples/copy_from_heap.py +++ b/pysamples/copy_from_heap.py @@ -31,6 +31,6 @@ def myblock(tw, x): # second argument is ignored ########################################################################### from gtk import Clipboard - from tautils import data_to_string + from TurtleArt.tautils import data_to_string Clipboard().set_text(data_to_string(tw.lc.heap)) diff --git a/pysamples/load_journal_entry_to_heap.py b/pysamples/load_journal_entry_to_heap.py index 4ee713c..f587822 100644 --- a/pysamples/load_journal_entry_to_heap.py +++ b/pysamples/load_journal_entry_to_heap.py @@ -30,7 +30,7 @@ def myblock(tw, x): # ignore second argument # ########################################################################### - from tautils import chooser + from TurtleArt.tautils import chooser # Choose a datastore object and push data to heap (Sugar only) chooser(tw.parent, '', tw.lc.push_file_data_to_heap) diff --git a/pysamples/save_heap_to_journal_entry.py b/pysamples/save_heap_to_journal_entry.py index 96ac845..90c46ec 100644 --- a/pysamples/save_heap_to_journal_entry.py +++ b/pysamples/save_heap_to_journal_entry.py @@ -37,7 +37,7 @@ def myblock(tw, title): from sugar.datastore import datastore from sugar import profile - from tautils import get_path, data_to_file + from TurtleArt.tautils import get_path, data_to_file # Save JSON-encoded heap to temporary file heap_file = os.path.join(get_path(activity, 'instance'), |