/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip
NameSizeModeActions
commands/-0755rm
compat/-0755rm
models/-0755rm
operations/-0755rm
req/-0755rm
utils/-0755rm
vcs/-0755rm
_vendor/-0755rm
basecommand.py114290644editdlrm
basecommand.pyc90940644editdlrm
baseparser.py104650644editdlrm
baseparser.pyc113650644editdlrm
cmdoptions.py158780644editdlrm
cmdoptions.pyc155780644editdlrm
download.py317220644editdlrm
download.pyc261750644editdlrm
exceptions.py79800644editdlrm
exceptions.pyc129200644editdlrm
index.py371910644editdlrm
index.pyc350090644editdlrm
locations.py56320644editdlrm
locations.pyc49720644editdlrm
pep425tags.py113180644editdlrm
pep425tags.pyc101080644editdlrm
status_codes.py1560644editdlrm
status_codes.pyc4130644editdlrm
wheel.py320880644editdlrm
wheel.pyc268360644editdlrm
__init__.py104270644editdlrm
__init__.pyc95570644editdlrm
__main__.py5840644editdlrm
__main__.pyc5080644editdlrm
Edit: /usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyc (12920B)
Ñò ¥Wc@@sÒdZddklZddklZlZlZddklZde fd„ƒYZ de fd„ƒYZ d e fd „ƒYZ d e fd „ƒYZ d e fd„ƒYZde fd„ƒYZde fd„ƒYZde fd„ƒYZde fd„ƒYZde fd„ƒYZde fd„ƒYZde fd„ƒYZde fd„ƒYZdefd „ƒYZd!efd"„ƒYZd#efd$„ƒYZd%efd&„ƒYZd'efd(„ƒYZd)S(*s"Exceptions used throughout packagei(tabsolute_import(tchaintgroupbytrepeat(t iteritemstPipErrorcB@seZdZRS(sBase pip exception(t__name__t __module__t__doc__(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR stInstallationErrorcB@seZdZRS(s%General exception during installation(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR stUninstallationErrorcB@seZdZRS(s'General exception during uninstallation(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR stDistributionNotFoundcB@seZdZRS(sCRaised when a distribution cannot be found to satisfy a requirement(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR stRequirementsFileParseErrorcB@seZdZRS(sDRaised when a general error occurs parsing a requirements file line.(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR stBestVersionAlreadyInstalledcB@seZdZRS(sNRaised when the most up-to-date version of a package is already installed.(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR st BadCommandcB@seZdZRS(s0Raised when virtualenv or a command is not found(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR"st CommandErrorcB@seZdZRS(s7Raised when there is an error in command-line arguments(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR&stPreviousBuildDirErrorcB@seZdZRS(s:Raised when there's a previous conflicting build directory(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR*stInvalidWheelFilenamecB@seZdZRS(sInvalid wheel filename.(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR.stUnsupportedWheelcB@seZdZRS(sUnsupported wheel.(RRR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR2st HashErrorscB@s;eZdZd„Zd„Zd„Zd„Zd„ZRS(s:Multiple HashError instances rolled into one for reportingcC@s g|_dS(N(terrors(tself((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyt__init__9scC@s|ii|ƒdS(N(Rtappend(Rterror((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR<scC@s‚g}|iidd„ƒxJt|id„ƒD]3\}}|i|iƒ|id„|Dƒƒq2W|odi|ƒSdS(NtkeycS@s|iS((torder(te((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pytAscS@s|iS((t __class__(R((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyRBscs@sx|]}|iƒVqWdS(N(tbody(t.0R((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pys Ds s (RtsortRRtheadtextendtjoin(Rtlinestclst errors_of_cls((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyt__str__?s cC@s t|iƒS(N(tboolR(R((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyt __nonzero__HscC@s |iƒS(N(R)(R((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyt__bool__Ks(RRRRRR'R)R*(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR6s    t HashErrorcB@s5eZdZdZdZd„Zd„Zd„ZRS(s” A failure to verify a package against known-good hashes :cvar order: An int sorting hash exception classes by difficulty of recovery (lower being harder), so the user doesn't bother fretting about unpinned packages when he has deeper issues, like VCS dependencies, to deal with. Also keeps error reports in a deterministic order. :cvar head: A section heading for display above potentially many exceptions of this kind :ivar req: The InstallRequirement that triggered this error. This is pasted on after the exception is instantiated, because it's not typically available earlier. tcC@sd|iƒS(s)Return a summary of me for display under the heading. This default implementation simply prints a description of the triggering requirement. :param req: The InstallRequirement that provoked this error, with populate_link() having already been called s %s(t_requirement_name(R((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyRbs cC@sd|i|iƒfS(Ns%s %s(R!R(R((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR'nscC@s|iot|iƒSdS(s¨Return a description of the requirement that triggered me. This default implementation returns long description of the req, with line numbers sunknown package(treqtstr(R((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR-qsN( RRRtNoneR.R!RR'R-(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR+Os  tVcsHashUnsupportedcB@seZdZdZdZRS(suA hash was provided for a version-control-system-based requirement, but we don't have a method for hashing those.islCan't verify hashes for these requirements because we don't have a way to hash version control repositories:(RRRRR!(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR1{stDirectoryUrlHashUnsupportedcB@seZdZdZdZRS(suA hash was provided for a version-control-system-based requirement, but we don't have a method for hashing those.isUCan't verify hashes for these file:// requirements because they point to directories:(RRRRR!(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR2„st HashMissingcB@s,eZdZdZdZd„Zd„ZRS(s2A hash was needed for a requirement but is absent.iswHashes are required in --require-hashes mode, but they are missing from some requirements. Here is a list of those requirements along with the hashes their downloaded archives actually had. Add lines like these to your requirements files to prevent tampering. (If you did not enable --require-hashes manually, note that it turns on automatically when any package has a hash.)cC@s ||_dS(sq :param gotten_hash: The hash of the (possibly malicious) archive we just downloaded N(t gotten_hash(RR4((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR™scC@snddkl}d}|io3|iio |iint|iddƒ}nd|pd||ifS(Ni(t FAVORITE_HASHR.s %s --hash=%s:%ssunknown package(tpip.utils.hashesR5R0R.t original_linktgetattrR4(RR5tpackage((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR s  (RRRRR!RR(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR3s  t HashUnpinnedcB@seZdZdZdZRS(sPA requirement had a hash specified but was not pinned to a specific version.isaIn --require-hashes mode, all requirements must have their versions pinned with ==. These do not:(RRRRR!(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR:±st HashMismatchcB@s5eZdZdZdZd„Zd„Zd„ZRS(sî Distribution file hash values don't match. :ivar package_name: The name of the package that triggered the hash mismatch. Feel free to write to this after the exception is raise to improve its error message. isÞTHESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.cC@s||_||_dS(sí :param allowed: A dict of algorithm names pointing to lists of allowed hex digests :param gots: A dict of algorithm names pointing to hashes we actually got from the files under suspicion N(tallowedtgots(RR<R=((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyRÉs cC@sd|iƒ|iƒfS(Ns %s: %s(R-t_hash_comparison(R((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyRÓs c@s‰d„}g}xjt|iƒD]Y\}}||ƒ‰|i‡fd†|Dƒƒ|id|i|iƒƒd‰qWdi|ƒS(sE Return a comparison of actual and expected hash values. Example:: Expected sha256 abcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcde or 123451234512345123451234512345123451234512345 Got bcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdef cS@st|gtdƒƒS(Ns or(RR(t hash_name((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyt hash_then_orâsc3@s)x"|]}dtˆƒ|fVqWdS(s Expected %s %sN(tnext(RR(tprefix(sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pys ês s Got %s s ors (RR<R"RR=t hexdigestR#(RR@R$R?t expecteds((RBsF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR>×s      (RRRRR!RRR>(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyR;ºs  N(Rt __future__Rt itertoolsRRRtpip._vendor.sixRt ExceptionRR R R R R RRRRRRR+R1R2R3R:R;(((sF/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/exceptions.pyts*,  $