• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(679)  |  Call(435)  |  Derive(17)  |  Import(227)
No Document.

src/b/r/braintree_python_examples-HEAD/tr_checkout_app_engine/web/wsgiserver/__init__.py   braintree_python_examples(Download)
                errnum = e.args[0]
                if is_reader and errnum in socket_errors_to_ignore:
                    return ""
                raise socket.error(errnum)
            except SSL.Error, e:
                if is_reader and e.args == (-1, 'Unexpected EOF'):
                    return ""

src/p/y/pymockobject-HEAD/trunk/pymockobject/tests/examples.py   pymockobject(Download)
                using_password = "No"
            msg = self.AUTHENTICATION_ERROR
            msg %= (username, using_password)
            raise socket.error(msg)
 
    def send_and_receive(self, data):
        self._sock.send(data)

src/p/y/pymockobject-HEAD/pymockobject/tests/examples.py   pymockobject(Download)
                using_password = "No"
            msg = self.AUTHENTICATION_ERROR
            msg %= (username, using_password)
            raise socket.error(msg)
 
    def send_and_receive(self, data):
        self._sock.send(data)

src/n/o/notmm-0.4.1/examples/lib/satchmo_store/shop/views/contact.py   notmm(Download)
from django.utils.translation import ugettext_lazy as _
from satchmo_store.shop import get_satchmo_setting
from satchmo_store.shop.models import Config
from socket import error as SocketError
import logging
 
if "mailer" in settings.INSTALLED_APPS:

src/n/o/notmm-0.4.1/examples/lib/satchmo_store/shop/notification.py   notmm(Download)
from decimal import Decimal
from django.conf import settings
from django.template import loader, Context
from django.utils.translation import ugettext as _
from livesettings import config_value
from product.models import Discount
from socket import error as SocketError

src/n/o/notmm-0.4.1/examples/lib/satchmo_store/accounts/mail.py   notmm(Download)
from django.template import loader
from django.utils.translation import ugettext
from satchmo_store.shop.models import Config
from socket import error as SocketError
import logging
 
if "mailer" in settings.INSTALLED_APPS:

src/n/o/notmm-0.4.1/examples/lib/payment/utils.py   notmm(Download)
from satchmo_store.shop.models import Order, OrderAuthorization, OrderItem, OrderItemDetail, OrderPayment, OrderPendingPayment
from satchmo_store.shop.signals import satchmo_post_copy_item_to_order
from shipping.utils import update_shipping
from socket import error as SocketError
import logging
 
log = logging.getLogger('payment.utils')

src/l/i/lightblue-HEAD/trunk/src/mac/_bluetoothsockets.py   lightblue(Download)

src/l/i/lightblue-HEAD/src/mac/_bluetoothsockets.py   lightblue(Download)

src/i/r/ironruby-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/asyncore.py   ironruby(Download)
            self.addr = address
            self.handle_connect_event()
        else:
            raise socket.error(err, errorcode[err])
 
    def accept(self):
        # XXX can return either an address pair or None
            #check for errors
            err = self.socket.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR)
            if err != 0:
                raise socket.error(err, _strerror(err))
 
            self.handle_connect_event()
        self.handle_write()

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next