Show More
@@ -776,9 +776,6 b' python-profiler package from non-free.""")' | |||
|
776 | 776 | posix=False, strict=False) |
|
777 | 777 | if stmt == "" and cell is None: |
|
778 | 778 | return |
|
779 | elif cell == '': | |
|
780 | warn("Empty cell. Did you mean to use %timeit?") | |
|
781 | return | |
|
782 | 779 | |
|
783 | 780 | timefunc = timeit.default_timer |
|
784 | 781 | number = int(getattr(opts, "n", 0)) |
@@ -36,7 +36,7 b' from IPython.utils.openpy import source_to_unicode' | |||
|
36 | 36 | from IPython.utils.path import get_py_filename, unquote_filename |
|
37 | 37 | from IPython.utils.process import abbrev_cwd |
|
38 | 38 | from IPython.utils.terminal import set_term_title |
|
39 | from IPython.utils.warn import warn | |
|
39 | ||
|
40 | 40 | #----------------------------------------------------------------------------- |
|
41 | 41 | # Magic implementation classes |
|
42 | 42 | #----------------------------------------------------------------------------- |
@@ -595,9 +595,6 b' class OSMagics(Magics):' | |||
|
595 | 595 | if cell is None: |
|
596 | 596 | # line magic |
|
597 | 597 | return self.shell.getoutput(line) |
|
598 | elif cell == '': | |
|
599 | warn("Empty cell. Did you mean to use %!, %sx, or %system?") | |
|
600 | return | |
|
601 | 598 | else: |
|
602 | 599 | opts,args = self.parse_options(line, '', 'out=') |
|
603 | 600 | output = self.shell.getoutput(cell) |
General Comments 0
You need to be logged in to leave comments.
Login now