repo_name
stringlengths
5
100
ref
stringlengths
12
67
path
stringlengths
4
244
copies
stringlengths
1
8
content
stringlengths
0
1.05M
gangadharkadam/contributionerp
refs/heads/develop
erpnext/manufacturing/report/completed_production_orders/__init__.py
12133432
Kazade/NeHe-Website
refs/heads/master
google_appengine/lib/django-1.4/tests/regressiontests/httpwrappers/models.py
12133432
craigderington/studentloan5
refs/heads/master
studentloan5/Lib/site-packages/django/contrib/sessions/__init__.py
809
default_app_config = 'django.contrib.sessions.apps.SessionsConfig'
hkawasaki/kawasaki-aio8-2
refs/heads/gacco2/0701_kim_again
i18n/tests/__init__.py
12133432
ericholscher/django
refs/heads/master
django/contrib/gis/maps/__init__.py
12133432
lociii/googleads-python-lib
refs/heads/master
examples/adspygoogle/adwords/v201306/remarketing/__init__.py
12133432
rbian/avocado-vt
refs/heads/master
virttest/qemu_devices/__init__.py
12133432
vvv1559/intellij-community
refs/heads/master
python/testData/codeInsight/liveTemplates/expanding/IterableVariableFromImplicitImports/m.py
31
MY_GLOBAL = []
apocquet/django
refs/heads/master
tests/dates/tests.py
293
from __future__ import unicode_literals import datetime from django.core.exceptions import FieldError from django.test import TestCase from django.utils import six from .models import Article, Category, Comment class DatesTests(TestCase): def test_related_model_traverse(self): a1 = Article.objects.crea...
cheral/orange3
refs/heads/master
Orange/canvas/gui/stackedwidget.py
2
""" ===================== AnimatedStackedWidget ===================== A widget similar to :class:`QStackedWidget` supporting animated transitions between widgets. """ import logging from AnyQt.QtWidgets import QWidget, QFrame, QStackedLayout, QSizePolicy from AnyQt.QtGui import QPixmap, QPainter from AnyQt.QtCore i...
k8s-packages-power/contrib
refs/heads/master
hack/verify-flags-underscore.py
21
#!/usr/bin/env python # Copyright 2015 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
anu7495/airmozilla
refs/heads/master
airmozilla/surveys/urls.py
15
from django.conf.urls import patterns, url from . import views urlpatterns = patterns( '', url(r'load/(?P<id>\d+)/$', views.load, name='load'), )
Voyager1/xbmc
refs/heads/master
lib/gtest/test/gtest_env_var_test.py
343
#!/usr/bin/env python # # Copyright 2008, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list...
apixandru/intellij-community
refs/heads/master
python/testData/refactoring/changeSignature/scatteredKwargsArgsRenameParam.after.py
27
def f(x, bar, **kwargs): print(foo, kwargs) f(42, bar=None, extra1=1, extra2=2)
alex/characteristic
refs/heads/master
characteristic.py
1
from __future__ import absolute_import, division, print_function """ Say 'yes' to types but 'no' to typing! """ __version__ = "0.2.0dev" __author__ = "Hynek Schlawack" __license__ = "MIT" __copyright__ = "Copyright 2014 Hynek Schlawack" def with_cmp(attrs): """ A class decorator that adds comparison method...
demonchild2112/travis-test
refs/heads/master
grr/server/grr_response_server/bin/__init__.py
3
#!/usr/bin/env python """GRR server entry points."""
iglpdc/nipype
refs/heads/master
nipype/workflows/fmri/spm/__init__.py
10
from .preprocess import (create_spm_preproc, create_vbm_preproc, create_DARTEL_template)
dougbenjamin/panda-harvester
refs/heads/master
pandaharvester/harvestercore/command_spec.py
2
""" Command spec class: a panda poller will retrieve commands from panda server and store cache them internally """ from .spec_base import SpecBase class CommandSpec(SpecBase): # attributes attributesWithTypes = ('command_id:integer primary key', 'command:text', ...
dolanmiu/Automated-Chicken-Coop-2
refs/heads/master
py/open-door.py
1
#!/usr/bin/python #import Adafruit_MotorHAT, Adafruit_DCMotor, Adafruit_Stepper from Adafruit_MotorHAT import Adafruit_MotorHAT, Adafruit_DCMotor, Adafruit_StepperMotor import time import atexit # create a default object, no changes to I2C address or frequency mh = Adafruit_MotorHAT() # recommended for auto-disabli...
sinkuri256/python-for-android
refs/heads/master
python3-alpha/python3-src/Lib/distutils/tests/test_util.py
46
"""Tests for distutils.util.""" import os import sys import unittest from copy import copy from test.support import run_unittest from distutils.errors import DistutilsPlatformError, DistutilsByteCompileError from distutils.util import (get_platform, convert_path, change_root, check_environ,...
Theer108/invenio
refs/heads/master
invenio/modules/deposit/fields/__init__.py
13
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2012, 2013, 2014, 2015 CERN. # # Invenio is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your...
mbauskar/Das_Erpnext
refs/heads/develop
erpnext/hr/doctype/department/department.py
100
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class Department(Document): pass
shyamalschandra/picochess
refs/heads/master
libs/requests/packages/chardet/universaldetector.py
744
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is Mozilla Universal charset detector code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 2001 # the Initial Developer. All R...
wandec/grr
refs/heads/master
config/server.py
1
#!/usr/bin/env python """Configuration parameters for the server side subsystems.""" from grr.lib import config_lib from grr.lib import rdfvalue # Note: Each thread adds about 8mb for stack space. config_lib.DEFINE_integer("Threadpool.size", 50, "Number of threads in the shared thread pool....
Th3R3p0/Nosql-Exploitation-Framework
refs/heads/master
coreconfigure.py
1
#!/usr/bin/python #Core Configuration File For Commands and Options import argparse import dbattacks from dbattacks import mongoattacks from dbattacks import couchattacks from dbattacks import redisattacks from dbattacks import hbaseattacks from dbattacks import cassattacks from dbattacks import utils import webatt...
Kryz/sentry
refs/heads/master
src/sentry/search/models.py
36
""" sentry.search.models ~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import
TheUKDave/secret_santa
refs/heads/master
secret_santa/urls.py
1
from django.conf.urls import url, include from django.contrib import admin urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include('santa.urls'), name='santa'), ]
charlesvdv/servo
refs/heads/master
tests/wpt/web-platform-tests/tools/pytest/_pytest/_code/_py2traceback.py
192
# copied from python-2.7.3's traceback.py # CHANGES: # - some_str is replaced, trying to create unicode strings # import types def format_exception_only(etype, value): """Format the exception part of a traceback. The arguments are the exception type and value such as given by sys.last_type and sys.last_va...
MediaKraken/MediaKraken_Deployment
refs/heads/master
source/database_async/db_base_media_tv_async.py
1
import inspect from common import common_logging_elasticsearch_httpx async def db_media_tv_list(self, genre_type=None, list_limit=None, group_collection=False, offset=0, search_value=None, db_connection=None): """ # grab tv data """ await common_l...
arderyp/scotuswebcites
refs/heads/master
scotuswebcites/__init__.py
12133432
magic0704/oslo.db
refs/heads/master
oslo_db/sqlalchemy/migration_cli/__init__.py
12133432
JackDanger/sentry
refs/heads/master
tests/sentry/tasks/test_clear_expired_snoozes.py
9
from __future__ import absolute_import from datetime import timedelta from django.utils import timezone from sentry.models import Group, GroupSnooze, GroupStatus from sentry.tasks.clear_expired_snoozes import clear_expired_snoozes from sentry.testutils import TestCase class ClearExpiredSnoozesTest(TestCase): de...
pedrobaeza/OpenUpgrade
refs/heads/8.0
addons/l10n_in_hr_payroll/report/__init__.py
424
#-*- coding:utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # d$ # # This program is free software: you can redistribute it and/or modify # it...
kazeeki/pipe2py
refs/heads/master
pipe2py/twisted/collections.py
1
# -*- coding: utf-8 -*- # vim: sw=4:ts=4:expandtab """ pipe2py.twisted.collections ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Provides methods for creating asynchronous pipe2py pipes """ from __future__ import ( absolute_import, division, print_function, with_statement, unicode_literals) from twisted.internet.d...
edmorley/treeherder
refs/heads/master
treeherder/services/elasticsearch/utils.py
2
def dict_to_op(d, index_name, doc_type, op_type='index'): """ Create a bulk-indexing operation from the given dictionary. """ if d is None: return d op_types = ('create', 'delete', 'index', 'update') if op_type not in op_types: msg = 'Unknown operation type "{}", must be one of...
Johnetordoff/osf.io
refs/heads/develop
api_tests/brands/__init__.py
12133432
umitproject/site-status
refs/heads/master
django/contrib/localflavor/sk/__init__.py
12133432
stephen-soltesz/collectd-mlab
refs/heads/master
site-packages/mlab/disco/__init__.py
12133432
boomsbloom/dtm-fmri
refs/heads/master
DTM/for_gensim/lib/python2.7/site-packages/pandas/io/auth.py
7
from __future__ import print_function # see LICENSES directory for copyright and license import os import sys import logging import httplib2 import apiclient.discovery as gapi import gflags import oauth2client.file as auth_file import oauth2client.client as oauth import oauth2client.tools as tools OOB_CALLBACK_URN = ...
edx-solutions/edx-platform
refs/heads/master
lms/djangoapps/verify_student/tests/test_services.py
4
# -*- coding: utf-8 -*- """ Tests for the service classes in verify_student. """ import ddt from django.conf import settings from mock import patch from lms.djangoapps.verify_student.models import ManualVerification, SoftwareSecurePhotoVerification, SSOVerification from lms.djangoapps.verify_student.services import ...
FrozenPigs/Taigabot
refs/heads/master
plugins/gelbooru.py
1
import random import re from util import hook, web from utilities import request gelbooru_cache = [] gb_lastsearch = '' def gb_refresh_cache(inp): global gelbooru_cache gelbooru_cache = [] num = 0 search = ( inp.replace(' ', '+').replace('explicit', 'rating:explicit').replace( 'n...
indictranstech/biggift-erpnext
refs/heads/develop
erpnext/buying/report/supplier_addresses_and_contacts/__init__.py
12133432
baffolobill/django-lfs
refs/heads/master
lfs/utils/templatetags/__init__.py
12133432
allmende/synnefo
refs/heads/develop
snf-cyclades-app/synnefo/helpdesk/models.py
12133432
porcobosso/spark-ec2
refs/heads/master
lib/boto-2.34.0/tests/integration/kinesis/__init__.py
12133432
cloud-ark/cloudark
refs/heads/master
server/server_plugins/aws/resource/__init__.py
12133432
jinverar/crits
refs/heads/master
crits/objects/__init__.py
12133432
daenamkim/ansible
refs/heads/devel
lib/ansible/modules/notification/hall.py
29
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2015, Billy Kimble <basslines@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
mbartling/TAMU_senior_design
refs/heads/master
mavlink/cmake/arkcmake/updateArkcmake.py
24
#!/usr/bin/python # Author: Lenna X. Peterson (github.com/lennax) # Based on bash script by James Goppert (github.com/jgoppert) # # script used to update cmake modules from git repo, can't make this # a submodule otherwise it won't know how to interpret the CMakeLists.txt # # # # # # subprocess# # # # # # # # # # # # #...
ProfessionalIT/professionalit-webiste
refs/heads/master
sdk/google_appengine/lib/django-1.4/django/contrib/sitemaps/management/__init__.py
12133432
alexsmx/djangoAppengineSrcTemplate
refs/heads/master
__init__.py
12133432
rohitwaghchaure/alec_frappe5_erpnext
refs/heads/develop
erpnext/accounts/doctype/fiscal_year_company/__init__.py
12133432
edmorley/django
refs/heads/master
tests/servers/another_app/__init__.py
12133432
anksp21/Community-Zenpacks
refs/heads/master
ZenPacks.community.Fedora/ZenPacks/community/Fedora/modeler/__init__.py
12133432
mbauskar/omnitech-demo-erpnext
refs/heads/develop
erpnext/patches/v5_0/update_companywise_payment_account.py
120
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe def execute(): frappe.reload_doc('accounts', 'doctype', 'mode_of_payment') frappe.reload_doc('accounts', 'doctype', 'mode_of_payment_ac...
CaptFrank/NetworkDeviceMonitor
refs/heads/master
NetworkMonitor/Base/Node.py
1
""" :Node: ========== :description: :copyright: (c) 2015-10-23 by francispapineau. :license: BSD, see LICENSE for more details. Author: francispapineau Version: :version: #TODO Date: 2015-10-23 """ """ ============================================= Impor...
jdmonaco/grid-remapping-model
refs/heads/master
src/analysis/scan.py
1
#encoding: utf-8 """ grid.analysis.scan -- AbstractAnalysis subclass for exploring statistics of spatial map properties by scanning a single parameter with even sampling. Written by Joe Monaco, 05/14/2008. Copyright (c) 2008 Columbia University. All rights reserved. """ # Library imports import numpy as N, scipy...
pupboss/xndian
refs/heads/master
deploy/site-packages/pip/_vendor/distlib/util.py
190
# # Copyright (C) 2012-2013 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # import codecs from collections import deque import contextlib import csv from glob import iglob as std_iglob import io import json import logging import os import py_compile import re import shutil import socket import...
dutradda/myreco
refs/heads/master
myreco/external_variables/__init__.py
12133432
devs1991/test_edx_docmode
refs/heads/master
venv/lib/python2.7/site-packages/dealer/contrib/__init__.py
12133432
jordonbiondo/cldoc
refs/heads/master
cldoc/__init__.py
4
# This file is part of cldoc. cldoc is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public # License as published by the Free Software Foundation, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the ...
amenonsen/ansible
refs/heads/devel
lib/ansible/modules/cloud/digital_ocean/digital_ocean_domain_info.py
25
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2018, Ansible Project # Copyright: (c) 2018, Abhijeet Kasurde <akasurde@redhat.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = ty...
dwaynebailey/pootle
refs/heads/master
tests/core/display.py
10
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest from pootle.core.display imp...
zbqf109/goodo
refs/heads/master
openerp/report/render/rml.py
49
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import render import rml2pdf import rml2html as htmlizer import rml2txt as txtizer import odt2odt as odt import html2html as html import makohtml2html as makohtml class rml(render.render): def __init__(self, rml, l...
biswajitsahu/kuma
refs/heads/master
kuma/contentflagging/migrations/__init__.py
12133432
redhat-cip/tempest
refs/heads/master
tempest/thirdparty/boto/utils/__init__.py
12133432
DPaaS-Raksha/horizon
refs/heads/master
openstack_dashboard/dashboards/admin/images/forms.py
16
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no...
xhb/profitpy
refs/heads/master
examples/accountkeysdialog.py
18
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2007 Troy Melhase <troy@gci.net> # Distributed under the terms of the GNU General Public License v2 from PyQt4.QtCore import Qt from PyQt4.QtGui import QDialog, QStandardItem, QStandardItemModel from .ui_accountkeysdialog import Ui_AccountKeysDialog class A...
jeanlinux/calibre
refs/heads/master
src/calibre/gui2/tweak_book/spell.py
8
#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) __license__ = 'GPL v3' __copyright__ = '2014, Kovid Goyal <kovid at kovidgoyal.net>' import cPickle, os, sys from collections import defaultdict, OrderedDict fro...
kristianfzr/AutomateTheBoringStuff
refs/heads/master
trafficLightsimualtion.py
12133432
pkimber/mail
refs/heads/master
example_mail/management/commands/__init__.py
12133432
Averroes/urssus
refs/heads/master
urssus/util/__init__.py
12133432
akarambir/askcoding
refs/heads/develop
settings/__init__.py
12133432
fixator/aprinter
refs/heads/master
host_stuff/littlevent/__init__.py
12133432
T2DREAM/t2dream-portal
refs/heads/master
src/encoded/tests/test_upgrade_page.py
1
import pytest @pytest.fixture def page(): return{ 'name': 'Fake Page', } @pytest.fixture def page_1(page): item = page.copy() item.update({ 'schema_version': '1', 'news_keywords': ['RNA binding', 'Experiment', 'DNA methylation', 'promoter-like regions', 'Conferences'], })...
TamiaLab/carnetdumaker
refs/heads/master
apps/snippets/search_indexes.py
1
""" Search indexes for the snippets app. """ from haystack import indexes from .models import (CodeSnippet, CodeSnippetBundle) class CodeSnippetIndex(indexes.SearchIndex, indexes.Indexable): """ Search indexes for the ``CodeSnippet`` model. """ text = indexes.CharField(document...
rolepoint/flump
refs/heads/master
test/methods/test_get_single.py
1
from mock import ANY from ..helpers import create_user, get_user def test_get(flask_client): user = create_user(flask_client) response = get_user(flask_client, user.json['data']['id']) assert response.status_code == 200 assert response.json == { 'data': { 'attributes': {'name': 'C...
sztanko/hadoop-common
refs/heads/HADOOP-3628
src/contrib/hod/testing/testHodRing.py
118
#Licensed to the Apache Software Foundation (ASF) under one #or more contributor license agreements. See the NOTICE file #distributed with this work for additional information #regarding copyright ownership. The ASF licenses this file #to you under the Apache License, Version 2.0 (the #"License"); you may not use thi...
jcmarks/jcmarks-mobile
refs/heads/master
lib/flask/globals.py
783
# -*- coding: utf-8 -*- """ flask.globals ~~~~~~~~~~~~~ Defines all the global objects that are proxies to the current active context. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from functools import partial from werkzeug.local import LocalStack, ...
poljeff/odoo
refs/heads/8.0
addons/report_intrastat/report_intrastat.py
201
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
jdsika/TUM_HOly
refs/heads/master
openrave/sympy/polys/domains/modularinteger.py
5
"""Implementation of :class:`ModularInteger` class. """ class ModularInteger(object): """A class representing an modular integers. """ mod, dom, sym = None, None, None __slots__ = ['val'] def __init__(self, val): self.val = val % self.mod def __hash__(self): return hash((self.va...
ytjia/leetcode
refs/heads/master
algorithms/python/leetcode/tests/test_FindAllAnagramsinaString.py
2
# -*- coding: utf-8 -*- # Authors: Y. Jia <ytjia.zju@gmail.com> import unittest from .. import FindAllAnagramsinaString class test_FindAllAnagramsinaString(unittest.TestCase): solution = FindAllAnagramsinaString.Solution() def test_findAnagrams(self): self.assertEqual(self.solution.findAnagrams("c...
ssarangi/numba
refs/heads/master
numba/hsa/hlc/config.py
6
from __future__ import print_function, absolute_import import sys import os # Set a default for HSAILBIN if it is not defined. # This is only used for cmdline HLC os.environ['HSAILBIN'] = os.environ.get('HSAILBIN', '/opt/amd/bin') # The default location of the HSAIL builtins library DEFAULT_BUILTIN_PATH = os.path.jo...
sch3m4/intelmq
refs/heads/master
intelmq/bots/parsers/dshield/__init__.py
12133432
unixxxx/simplecms
refs/heads/master
controllers/__init__.py
12133432
dpassante/ansible
refs/heads/devel
lib/ansible/module_utils/facts/network/sunos.py
170
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
poojavade/Genomics_Docker
refs/heads/master
Dockerfiles/gedlab-khmer-filter-abund/pymodules/python2.7/lib/python/scipy/weave/examples/binary_search.py
97
# Offers example of inline C for binary search algorithm. # Borrowed from Kalle Svensson in the Python Cookbook. # The results are nearly in the "not worth it" category. # # C:\home\ej\wrk\scipy\compiler\examples>python binary_search.py # Binary search for 3000 items in 100000 length list of integers: # speed in pytho...
Just-D/panda3d
refs/heads/master
direct/src/directdevices/DirectRadamec.py
12
""" Class used to create and control radamec device """ from math import * from direct.showbase.DirectObject import DirectObject from DirectDeviceManager import * from direct.directnotify import DirectNotifyGlobal """ TODO: Handle interaction between widget, followSelectedTask and updateTask """ # ANALOGS RAD_PAN =...
BartoszCichecki/onlinepython
refs/heads/master
onlinepython/pypy-2.4.0-win32/lib-python/2.7/encodings/palmos.py
647
""" Python Character Mapping Codec for PalmOS 3.5. Written by Sjoerd Mullender (sjoerd@acm.org); based on iso8859_15.py. """#" import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_map) def decode(self,inp...
KenMutemi/saleor
refs/heads/master
saleor/graphql/api.py
5
import functools import graphene import operator from django.db.models import Q from graphene import relay from graphene_django import DjangoObjectType, DjangoConnectionField from graphene_django.debug import DjangoDebug from django_prices.templatetags import prices_i18n from ..product.models import (AttributeChoiceV...
Dunkas12/BeepBoopBot
refs/heads/master
lib/chardet/langhungarianmodel.py
2762
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is Mozilla Communicator client code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights R...
Brahimbaz/venom-xbmc-addons-beta
refs/heads/master
plugin.video.vstream/resources/lib/handler/__init__.py
12133432
AltSchool/django
refs/heads/master
django/conf/locale/ja/__init__.py
12133432
nirmeshk/oh-mainline
refs/heads/master
vendor/packages/django-registration/registration/__init__.py
12133432
huntxu/neutron
refs/heads/master
neutron/tests/unit/services/trunk/rpc/__init__.py
12133432
Jetsly/pjsip-csharp
refs/heads/master
tests/pjsua/scripts-sipp/uas-cancel-no-final.py
41
# $Id: uas-cancel-no-final.py 4188 2012-06-29 09:01:17Z nanang $ # import inc_const as const PJSUA = ["--null-audio --max-calls=1 $SIPP_URI"] PJSUA_EXPECTS = [[0, const.STATE_EARLY, "h"]]
rsvip/Django
refs/heads/master
django/template/loaders/cached.py
313
""" Wrapper class that takes a list of template loaders as an argument and attempts to load templates from them in order, caching the result. """ import hashlib import warnings from django.template import Origin, Template, TemplateDoesNotExist from django.utils.deprecation import RemovedInDjango20Warning from django....
LazyCodingCat/gyp
refs/heads/master
test/ios/gyptest-per-config-settings.py
193
#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Verifies that device and simulator bundles are built correctly. """ import plistlib import TestGyp import os import struct import subpr...
mvexel/mr-tnav
refs/heads/master
maproulette/models.py
1
# """This file contains the SQLAlchemy ORM models""" from sqlalchemy import create_engine, and_, or_ from sqlalchemy.orm import synonym from sqlalchemy.ext.hybrid import hybrid_property, hybrid_method from sqlalchemy.ext.declarative import declarative_base from flask.ext.sqlalchemy import SQLAlchemy from geoalchemy2...
antonioUnina/neutron
refs/heads/master
neutron/db/migration/alembic_migrations/versions/3b85b693a95f_remove_service_tables.py
15
# Copyright 2014 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...