From 1969d568bb440424d4128f627ac62ad3d5c62172 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 21 Mar 2011 21:32:46 +0000 Subject: adding subdirectory TurtleArt to import paths --- (limited to 'pysamples') 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'), -- cgit v0.9.1