Did I find the right examples for you? yes no

All Samples(54)  |  Call(46)  |  Derive(0)  |  Import(8)

        def warn(msg):
    err("WARNING: {}".format(msg))
        


src/t/v/tvnamer-2.3/tvnamer/main.py   tvnamer(Download)
 
from unicode_helper import p
from utils import (Config, FileFinder, FileParser, Renamer, warn,
applyCustomInputReplacements, formatEpisodeNumbers, makeValidFilename,
DatedEpisodeInfo, NoSeasonEpisodeInfo)
        cnamer.newPath(new_fullpath = newName, force = Config['overwrite_destination_on_rename'], leave_symlink = Config['leave_symlink'])
    except OSError, e:
        warn(e)
 
 
 
    except OSError, e:
        warn(e)
 
 
    except (DataRetrievalError, ShowNotFound), errormsg:
        if Config['always_rename'] and Config['skip_file_on_error'] is True:
            warn("Skipping file due to error: %s" % errormsg)
            return
        else:
            warn(errormsg)

src/t/v/tvnamer-HEAD/tvnamer/main.py   tvnamer(Download)
 
from unicode_helper import p
from utils import (Config, FileFinder, FileParser, Renamer, warn,
applyCustomInputReplacements, formatEpisodeNumbers, makeValidFilename,
DatedEpisodeInfo, NoSeasonEpisodeInfo)
        cnamer.newPath(new_fullpath = newName, force = Config['overwrite_destination_on_rename'], leave_symlink = Config['leave_symlink'])
    except OSError, e:
        warn(e)
 
 
 
    except OSError, e:
        warn(e)
 
 
    except (DataRetrievalError, ShowNotFound), errormsg:
        if Config['always_rename'] and Config['skip_file_on_error'] is True:
            warn("Skipping file due to error: %s" % errormsg)
            return
        else:
            warn(errormsg)

src/h/o/homefiles-2.0.6/homefiles/__init__.py   homefiles(Download)
    def init(self):
        if os.path.exists(self.repo_path):
            utils.warn("Homefiles repo already exists at '%s'"
                       % self.repo_path)
            return

src/p/y/pyformex-0.9.0/pyformex/plugins/dxf.py   pyformex(Download)
            return ''
    else:
        utils.warn('warn_no_dxfparser')
        return ''
 

src/d/x/dx-toolkit-HEAD/src/python/dxpy/bindings/dxfile.py   dx-toolkit(Download)
from . import DXDataObject
from ..exceptions import DXFileError
from ..utils import warn
from ..compat import BytesIO
 
 
        if self._write_buf.tell() > 0 or len(self._http_threadpool_futures) > 0:
            warn("=== WARNING! ===")
            warn("There is still unflushed data in the destructor of a DXFile object!")
            warn("We will attempt to flush it now, but if an error were to occur, we could not report it back to you.")
            warn("Your program could fail to flush the data but appear to succeed.")

src/p/y/pyformex-0.9.0/pyformex/script.py   pyformex(Download)
    If a filename is specified, set the global variable __file__ to it.
    """
    utils.warn('print_function')
    global exportNames,starttime
    global exitrequested

src/d/x/dxpy-0.95.1/dxpy/bindings/dxfile.py   dxpy(Download)
from . import DXDataObject
from ..exceptions import DXFileError
from ..utils import warn
from ..compat import BytesIO
 
        '''
        if self._write_buf.tell() > 0 or len(self._http_threadpool_futures) > 0:
            warn("=== WARNING! ===")
            warn("There is still unflushed data in the destructor of a DXFile object!")
            warn("We will attempt to flush it now, but if an error were to occur, we could not report it back to you.")
            warn("Your program could fail to flush the data but appear to succeed.")

src/p/y/pyformex-0.9.0/pyformex/gui/draw.py   pyformex(Download)
    fills the background.
    """
    utils.warn("warn_drawImage_changed")
    from plugins.imagearray import image2numpy
    from gui.decors import Rectangle

src/g/o/gondor-1.2.5/gondor/__main__.py   gondor(Download)
from .progressbar import ProgressBar
from .run import unix_run_poll, win32_run_poll
from .utils import out, err, error, warn, api_error
 
 
            else:
                if args.verbose > 1:
                    warn("upgrade {} to YAML\n".format(config_file))
                return {
                    "auth": {

src/g/o/gondor-client-HEAD/gondor/__main__.py   gondor-client(Download)
from .progressbar import ProgressBar
from .run import unix_run_poll, win32_run_poll
from .utils import out, err, error, warn, api_error
 
 
            else:
                if args.verbose > 1:
                    warn("upgrade {} to YAML\n".format(config_file))
                return {
                    "auth": {

  1 | 2  Next