Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)

src/d/t/DTL-1.1.7/DTL/perforce/client.py   DTL(Download)
import os
import sys
import traceback
from functools import partial
from P4 import P4, P4Exception
            success, client = guiUtils.getUserInput(msg='Please Enter Default Workspace:')
            if not success :
                raise P4Exception('Unable to determine P4CLIENT')
            self.setP4Client(client)
 
            success, port = guiUtils.getUserInput(msg='Please Enter P4 Server:')
            if not success :
                raise P4Exception('Unable to determine P4PORT')
            self.setP4Port(port)
 
        #Test Connection
        if not self.p4Conn.connected() :
            raise P4Exception('Unable to validate p4 connection.')
 
        self.setP4Info(p4info)

src/t/a/TACTIC-HEAD/src/client/tactic_client_lib/scm/perforce.py   TACTIC(Download)
 
try:
    from P4 import P4, P4Exception
    HAS_PERFORCE = True
except Exception, e:

src/p/e/perforce.tmbundle-HEAD/Support/perforce_bundle_helper.py   perforce.tmbundle(Download)
import os, shlex, subprocess
from P4 import P4, P4Exception
 
p4 = None
 

src/r/e/reviewboard-HEAD/reviewboard/scmtools/perforce.py   reviewboard(Download)
from djblets.util.filesystem import is_exe_in_path
try:
    from P4 import P4Exception
except ImportError:
    pass