summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/cmd2.py b/cmd2.py
index 12e3cede..265415d5 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -1405,16 +1405,6 @@ class Cmd(cmd.Cmd):
do_r = do_run
- def fileimport(self, statement, source):
- try:
- f = open(os.path.expanduser(source))
- except IOError:
- self.stdout.write("Couldn't read from file %s\n" % source)
- return ''
- data = f.read()
- f.close()
- return data
-
def runTranscriptTests(self, callargs):
class TestMyAppCase(Cmd2TestCase):
CmdApp = self.__class__