hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
e11ec09d7eb1bf27f7f12611e4e30a5fabb84e96
diff --git a/hic/initial.py b/hic/initial.py index <HASH>..<HASH> 100644 --- a/hic/initial.py +++ b/hic/initial.py @@ -72,10 +72,23 @@ class IC(object): X -= xcm Y -= ycm - # create grids of phi angles and R^n weights + # create grid of e^{i*n*phi} exp_phi = np.exp(1j*n*np.arc...
Optimize R^n calculation for eccentricity.
Duke-QCD_hic
train
py
f085c3f6f178d7ae9f65271706a45e06d066c6d4
diff --git a/.eslintrc.js b/.eslintrc.js index <HASH>..<HASH> 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -41,8 +41,6 @@ module.exports = { 'max-lines': 'error', 'max-nested-callbacks': 'error', 'max-params': 'error', - 'max-statements': 'error', - 'max-statements-per-line': 'off', 'new-ca...
ESLint: Disable `max-statements` rules We break these rules quite a few times in this project so they are probably not intended to be turned on here
glimmerjs_glimmer-vm
train
js
40ce4edfe65764f03c052b3d24535f88813f712d
diff --git a/tests/integration/backward_compatible/client_test.py b/tests/integration/backward_compatible/client_test.py index <HASH>..<HASH> 100644 --- a/tests/integration/backward_compatible/client_test.py +++ b/tests/integration/backward_compatible/client_test.py @@ -114,7 +114,9 @@ class ClientLabelsTest(HazelcastT...
Improve the client version filtering in `ClientTcpMetricsTest` (#<I>) The features tested in `ClientTcpMetricsTest` are backported into `<I>` and `<I>` as well. So, we want to include this test in their backward compatibility tests. To do so, the filter is changed so that it will skip tests when the client versi...
hazelcast_hazelcast-python-client
train
py
d8ce4c00497e4e9ff95589100ce020091ff063b0
diff --git a/application/tests/_ci_phpunit_test/patcher/IncludeStream.php b/application/tests/_ci_phpunit_test/patcher/IncludeStream.php index <HASH>..<HASH> 100644 --- a/application/tests/_ci_phpunit_test/patcher/IncludeStream.php +++ b/application/tests/_ci_phpunit_test/patcher/IncludeStream.php @@ -208,7 +208,10 @@ ...
Refactoring: Better flock operation handling
kenjis_ci-phpunit-test
train
php
9e20fbc2f412ab636f4fb7ce1ba07349b90ee346
diff --git a/question/type/calculated/edit_calculated_form.php b/question/type/calculated/edit_calculated_form.php index <HASH>..<HASH> 100644 --- a/question/type/calculated/edit_calculated_form.php +++ b/question/type/calculated/edit_calculated_form.php @@ -5,7 +5,8 @@ * @copyright &copy; 2007 Jamie Pratt * @autho...
Give the question bank code sensible PHPdocumentor package names.
moodle_moodle
train
php
094914def4a1161ccc1b66d51b1c5876f886c7fb
diff --git a/ruuvitag_sensor/__main__.py b/ruuvitag_sensor/__main__.py index <HASH>..<HASH> 100644 --- a/ruuvitag_sensor/__main__.py +++ b/ruuvitag_sensor/__main__.py @@ -1,5 +1,6 @@ import sys import argparse +import logging import ruuvitag_sensor from ruuvitag_sensor.log import log @@ -31,8 +32,15 @@ if __name_...
Add ability to enable debug logging for CLI test program
ttu_ruuvitag-sensor
train
py
53a6abd47a5ec2be96985788ddbc5bf3e7863937
diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/find.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/find.py index <HASH>..<HASH> 100644 --- a/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/find.py +++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/find.py @@ -54,7 ...
Find.find_choices would loop forever if Choice.synonyms was specified.
Microsoft_botbuilder-python
train
py
41b96d3e97cba51a8887e07c7fbd13b736afdd96
diff --git a/allauth/socialaccount/providers/oauth2/client.py b/allauth/socialaccount/providers/oauth2/client.py index <HASH>..<HASH> 100644 --- a/allauth/socialaccount/providers/oauth2/client.py +++ b/allauth/socialaccount/providers/oauth2/client.py @@ -28,7 +28,7 @@ class OAuth2Client(object): self.consumer_...
Fix: Header not propagated from adapater to client (#<I>) Bug: The header is not propagated from adapter to client Oauth2 result: reddit reponse <I> too many request. <URL>
pennersr_django-allauth
train
py
2e6371f65b7aaec3451c841a0f08ac4fb206b208
diff --git a/tests/unit/pyobjects_test.py b/tests/unit/pyobjects_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/pyobjects_test.py +++ b/tests/unit/pyobjects_test.py @@ -13,10 +13,11 @@ from salt.minion import SMinion from salt.renderers.pyobjects import render as pyobjects_render from salt.utils.odict import Or...
Add test for duplicates, now to fix it
saltstack_salt
train
py
57a221f680c9cbc990b932a834d0a900bc2dad81
diff --git a/tests/_support/FunctionalHelper.php b/tests/_support/FunctionalHelper.php index <HASH>..<HASH> 100644 --- a/tests/_support/FunctionalHelper.php +++ b/tests/_support/FunctionalHelper.php @@ -22,4 +22,20 @@ class FunctionalHelper extends \Codeception\Module $I->amInPath($root); } + /** + * Run an art...
Added method to run artisan commands
cerbero90_Workflow
train
php
4fdf8f5e6d0847f8353ed5c43a4c29d194bd6289
diff --git a/AegeanTools/msq2.py b/AegeanTools/msq2.py index <HASH>..<HASH> 100644 --- a/AegeanTools/msq2.py +++ b/AegeanTools/msq2.py @@ -101,7 +101,7 @@ class MarchingSquares(): """ Determine whether the pixel x,y is nonzero """ - if x < 0 or y < 0 or x >= self.xsize or y >= self.ysi...
simplified out-of-bounds check
PaulHancock_Aegean
train
py
59ff1016455c9be524149509135e69f3a75c4ea8
diff --git a/src/Menu/Builder.php b/src/Menu/Builder.php index <HASH>..<HASH> 100644 --- a/src/Menu/Builder.php +++ b/src/Menu/Builder.php @@ -33,8 +33,6 @@ class Builder extends ContainerAware ->setAttribute('icon', 'glyphicon-user'); $userMenuItem->addChild('Logout', array('route' => 'lo...
No login menu for anonymous as user is redirect to login form anyway
wanjee_ShuweeAdminBundle
train
php
c821ff0d41ca7bd776873fca9922373f980d74e0
diff --git a/luigi/server.py b/luigi/server.py index <HASH>..<HASH> 100644 --- a/luigi/server.py +++ b/luigi/server.py @@ -30,6 +30,7 @@ import signal from rpc import RemoteSchedulerResponder import task_history import logging +import warnings logger = logging.getLogger("luigi.server") @@ -136,7 +137,13 @@ def ...
Fallback since older versions of Tornado can't handle max_hader_size
spotify_luigi
train
py
a4e98f9e0e459f41596cf59c3244027950a539fa
diff --git a/osconf/__init__.py b/osconf/__init__.py index <HASH>..<HASH> 100644 --- a/osconf/__init__.py +++ b/osconf/__init__.py @@ -15,7 +15,7 @@ def config_from_environment(env_prefix, env_required=None, **kwargs): for env_key, value in os.environ.items(): env_key = env_key.upper() if env_key...
Imp use length to separate the prefix from the key
gisce_osconf
train
py
ddd4817f8eeb3faf25157ebc1956b1d44e63c8df
diff --git a/src/OAuth2/Scope.php b/src/OAuth2/Scope.php index <HASH>..<HASH> 100644 --- a/src/OAuth2/Scope.php +++ b/src/OAuth2/Scope.php @@ -50,7 +50,8 @@ class OAuth2_Scope implements OAuth2_ScopeInterface public function getScopeFromRequest(OAuth2_RequestInterface $request) { - return strtoupper(...
fixes #<I> - allows scope to be passed in either request or query
bshaffer_oauth2-server-php
train
php
aa70f5cc053ccb34eafa85e77cdb504b47820800
diff --git a/opaque_keys/edx/locator.py b/opaque_keys/edx/locator.py index <HASH>..<HASH> 100644 --- a/opaque_keys/edx/locator.py +++ b/opaque_keys/edx/locator.py @@ -869,5 +869,5 @@ class AssetLocator(BlockUsageLocator, AssetKey): """ return ['c4x', self.org, self.course, self.block_type, self.name, ...
Fix comment reference to AssetLocation
edx_opaque-keys
train
py
9c6b12616364196ec1d7cdbd21435064648bcc21
diff --git a/id.go b/id.go index <HASH>..<HASH> 100644 --- a/id.go +++ b/id.go @@ -99,14 +99,12 @@ func init() { dec[encoding[i]] = byte(i) } - // If PID is 1 and /proc/1/cpuset exists and is not /, we can assume that we - // are in a form of container and use the content of /proc/1/cpuset instead - // of the PI...
Handle containerized process with non 1 pid (fix #<I>)
rs_xid
train
go
af393a55dd94c3d5230c249c80e922e4c339ba96
diff --git a/test_runipy.py b/test_runipy.py index <HASH>..<HASH> 100644 --- a/test_runipy.py +++ b/test_runipy.py @@ -8,7 +8,12 @@ import sys import warnings with warnings.catch_warnings(): - warnings.filterwarnings('error') + try: + from IPython.utils.shimmodule import ShimWarning + warnings.f...
test_runipy.py: Only allow `ShimWarning`s, if this is iPython 4.x, to become errors that are handled.
paulgb_runipy
train
py
e21767ced2c39cef4efb88bae914e3b442f45d94
diff --git a/consumer/src/test/java/com/dius/pact/consumer/ConsumerPactTest.java b/consumer/src/test/java/com/dius/pact/consumer/ConsumerPactTest.java index <HASH>..<HASH> 100644 --- a/consumer/src/test/java/com/dius/pact/consumer/ConsumerPactTest.java +++ b/consumer/src/test/java/com/dius/pact/consumer/ConsumerPactTes...
missed a java <I> thing
DiUS_pact-jvm
train
java
602877f716abedd6a8a6c64686097d96e4da7842
diff --git a/spyderlib/qt/QtCore.py b/spyderlib/qt/QtCore.py index <HASH>..<HASH> 100644 --- a/spyderlib/qt/QtCore.py +++ b/spyderlib/qt/QtCore.py @@ -27,3 +27,5 @@ else: import PySide.QtCore __version__ = PySide.QtCore.__version__ # analysis:ignore from PySide.QtCore import * ...
Fix importing of QItemSelection and QItemSelectionRange for PySide
spyder-ide_spyder
train
py,py
64c9c2c2db847b05d8df5769ed1f9d228de031ef
diff --git a/examples/scripts/del-profile.py b/examples/scripts/del-profile.py index <HASH>..<HASH> 100755 --- a/examples/scripts/del-profile.py +++ b/examples/scripts/del-profile.py @@ -77,6 +77,7 @@ def del_profile_by_name(srv, name): print(('Removing Profile %s' % profile['name'])) ret = sr...
Fixed erroneous error message in del-profile.py when deleting by name * deleting profile by name was reporting "profile not found" even when named profile was found and successfully deleted
HewlettPackard_python-hpOneView
train
py
a69393c7913787b00a156210eb9c61b8f58a6ad4
diff --git a/openquake/server/db/models.py b/openquake/server/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/server/db/models.py +++ b/openquake/server/db/models.py @@ -26,7 +26,7 @@ Model representations of the OpenQuake DB tables. ''' import os from datetime import datetime - +import openquake.engine.uti...
Added a crucial import with side effects
gem_oq-engine
train
py
a625c7f7ed1a663c3498777a95c06cbb60a25a44
diff --git a/openquake/utils/stats.py b/openquake/utils/stats.py index <HASH>..<HASH> 100644 --- a/openquake/utils/stats.py +++ b/openquake/utils/stats.py @@ -287,8 +287,7 @@ class count_progress(object): # pylint: disable=C0103 def wrapper(*args, **kwargs): """Call the wrapped function and step...
Removed a debugging print
gem_oq-engine
train
py
8b4a98b93ef975004827453dcaf54d30fc6a21f2
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,15 @@ setup( 'requests>=2.8.0', 'xmltodict>=0.9.2', ], - classifiers=[] + classifiers=[ + 'Framework :: Django', + 'License :: OSI Approved :: MIT License', + 'Progra...
Add classifiers to setup.py This is the best way to show that the package is Python 3 compatible.
fabiocaccamo_django-freeze
train
py
11fd801da4586f6b6186ede5e34ec80b3d7e55e1
diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/MultiInstanceActivityBehavior.java b/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/MultiInstanceActivityBehavior.java index <HASH>..<HASH> 100644 --- a/modules/activiti-engine/src/main/java/org/activ...
Exposing behavior wrapped by multi-instance behavior
Activiti_Activiti
train
java
64389607e39c3913daad4af4b966c52d35a8e3e8
diff --git a/source/rafcon/mvc/selection.py b/source/rafcon/mvc/selection.py index <HASH>..<HASH> 100644 --- a/source/rafcon/mvc/selection.py +++ b/source/rafcon/mvc/selection.py @@ -102,7 +102,7 @@ class Selection(Observable): def get_selected_state(self): selected_states = self.get_states() - i...
Selection: Return first state for get_selected_state If several states are selected, the first state is returned when calling get_selected_state, instead of None.
DLR-RM_RAFCON
train
py
bb7feadadb3399998cd10d6ffbb57a4a6c0e18b8
diff --git a/cyphi/compute.py b/cyphi/compute.py index <HASH>..<HASH> 100644 --- a/cyphi/compute.py +++ b/cyphi/compute.py @@ -224,7 +224,11 @@ def big_mip(subsystem): # will be merged, and we should use their solution. inital_cache_location = _big_mip.get_output_dir(subsystem)[0] mip = _big_mip(subsyste...
Don't raise if cache directory already exists
wmayner_pyphi
train
py
0b4d055022333ad79e280d34b2025ecb02626b80
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1229,10 +1229,9 @@ TChannelSelfPeer.prototype.makeOutConnection = function makeOutConnection(/* soc throw new Error('refusing to make self out connection'); }; -function TChannelPeerState(channel, name) { +function TC...
Drop name param from peer state constructor
uber_tchannel-node
train
js
f0a22a7ce523c8c790dcd0e36fa05e451bf37272
diff --git a/lib/sails-migrations/helpers/sails_integration.js b/lib/sails-migrations/helpers/sails_integration.js index <HASH>..<HASH> 100644 --- a/lib/sails-migrations/helpers/sails_integration.js +++ b/lib/sails-migrations/helpers/sails_integration.js @@ -24,11 +24,13 @@ SailsIntegration.loadSailsConfig = function (...
load rc so that environment variables are processed
BlueHotDog_sails-migrations
train
js
089b7b0017012f275231ad8634970ed21cda6f87
diff --git a/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/MessageImpl.java b/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/MessageImpl.java index <HASH>..<HASH> 100644 --- a/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/MessageImpl.java +++ b/drools-compil...
BPMN parsing errors have no line info
kiegroup_drools
train
java
19f6334f44f9dea5d4bf4236ff0ece727fd6fea1
diff --git a/packages/jollofjs/lib/data/modelizer.js b/packages/jollofjs/lib/data/modelizer.js index <HASH>..<HASH> 100644 --- a/packages/jollofjs/lib/data/modelizer.js +++ b/packages/jollofjs/lib/data/modelizer.js @@ -104,7 +104,7 @@ module.exports.modelize = function ( schema ) { } static * findById( id, para...
Converted mongomodels to jollof models
iyobo_jollofjs
train
js
fd8b0cc25361c9af87d309ba2b665eb616c29b93
diff --git a/tests/php/ORM/HierarchyCachingTest.php b/tests/php/ORM/HierarchyCachingTest.php index <HASH>..<HASH> 100644 --- a/tests/php/ORM/HierarchyCachingTest.php +++ b/tests/php/ORM/HierarchyCachingTest.php @@ -9,6 +9,8 @@ use SilverStripe\Versioned\Versioned; use SilverStripe\ORM\Tests\HierarchyTest\TestObject; ...
MNT Fix broken test caused by missing table
silverstripe_silverstripe-framework
train
php
82e92a898a17d0f613e917755d2eed127c023a0d
diff --git a/shared/constants/search.js b/shared/constants/search.js index <HASH>..<HASH> 100644 --- a/shared/constants/search.js +++ b/shared/constants/search.js @@ -72,7 +72,7 @@ export function fullName (extraInfo: ExtraInfo): string { export function searchResultToAssertion (r: SearchResult): string { if (r.s...
Lower-case sharing before signup service name
keybase_client
train
js
e0ac8cad23211133cec38501ba843cfa170276d8
diff --git a/packages/posthtml-transform/lib/plugin.js b/packages/posthtml-transform/lib/plugin.js index <HASH>..<HASH> 100644 --- a/packages/posthtml-transform/lib/plugin.js +++ b/packages/posthtml-transform/lib/plugin.js @@ -8,7 +8,7 @@ const { normalizeRules } = require('./utils'); const defaultConfig = { skip...
chore: convert alpha colors by default
JetBrains_svg-mixer
train
js
6626fe242e9f8e2c0a683f21b4efc88ea836f1b2
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -78,6 +78,7 @@ setup( author_email=author_email, packages=get_packages(package), package_data=get_package_data(package), + include_package_data=True, install_requires=[ 'boto3==1.4.4' ],
Add include_package_data in setup.py (#<I>)
Cadasta_django-buckets
train
py
c9bdd0531130472252243a500a8c23846c814ed5
diff --git a/dftparse/pwscf/stdout_parser.py b/dftparse/pwscf/stdout_parser.py index <HASH>..<HASH> 100644 --- a/dftparse/pwscf/stdout_parser.py +++ b/dftparse/pwscf/stdout_parser.py @@ -169,6 +169,9 @@ def _parse_kpoints_block(line, lines): results['smearing width units'] = 'Ry' newline = next(line...
Handle case when k-points are not printed
CitrineInformatics_dftparse
train
py
5bff9c3f2872cccb01ab6385a8c0c38977c358b0
diff --git a/packages/@vue/cli/lib/Upgrader.js b/packages/@vue/cli/lib/Upgrader.js index <HASH>..<HASH> 100644 --- a/packages/@vue/cli/lib/Upgrader.js +++ b/packages/@vue/cli/lib/Upgrader.js @@ -45,6 +45,7 @@ module.exports = class Upgrader { } for (const p of upgradable) { + this.pkg = getPackageJson(...
fix(upgrade-all): avoid accidentally writing outdated package.json back (#<I>)
vuejs_vue-cli
train
js
8b9f46941924a04ce1091532a74def03e70c7559
diff --git a/p2p/protocols/protocol.go b/p2p/protocols/protocol.go index <HASH>..<HASH> 100644 --- a/p2p/protocols/protocol.go +++ b/p2p/protocols/protocol.go @@ -381,7 +381,7 @@ func (p *Peer) handleIncoming(handle func(ctx context.Context, msg interface{}) // * arguments // * context // * the local handshake ...
p2p/protocols: fix minor comments typo (#<I>)
ethereum_go-ethereum
train
go
e4f23960cd2e9e5ed07e4931eb38bae321696978
diff --git a/lib/git_wit.rb b/lib/git_wit.rb index <HASH>..<HASH> 100644 --- a/lib/git_wit.rb +++ b/lib/git_wit.rb @@ -1,15 +1,18 @@ +require "authorized_keys" require "active_support/configurable" require "git_wit/engine" require "git_wit/errors" require "git_wit/auth" require "git_wit/shell" require "git_wit/au...
Make config object only available in config block.
xdissent_git_wit
train
rb
3f72ee659de9e5ae82be14b6ef7f6830e02b14a7
diff --git a/ryu/lib/packet/icmpv6.py b/ryu/lib/packet/icmpv6.py index <HASH>..<HASH> 100644 --- a/ryu/lib/packet/icmpv6.py +++ b/ryu/lib/packet/icmpv6.py @@ -17,6 +17,7 @@ import struct import sys import array import binascii + from . import packet_base from . import packet_utils from ryu.lib.mac import haddr_to...
lib/packet/icmpv6: use checksum_ip()
osrg_ryu
train
py
4c7dda46942e3434d0bc5606dbbaea3bd605c256
diff --git a/src/Execution/MutationExecutor.php b/src/Execution/MutationExecutor.php index <HASH>..<HASH> 100644 --- a/src/Execution/MutationExecutor.php +++ b/src/Execution/MutationExecutor.php @@ -134,10 +134,7 @@ class MutationExecutor } if (isset($nestedOperations['connect'])) { - ...
Simplify MutationExecutor by removing redundant line
nuwave_lighthouse
train
php
959e8fa3824539c65ea15da30337064d4b47c571
diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/config/SenderConfiguration.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/config/SenderConfiguration.java index <HASH>..<HASH> 100644 --- a/components/org.wso2.transport.http.ne...
Fix compilation failure after resolving conflicts
wso2_transport-http
train
java
d85e08d24190af29f86368206b8db63bacf510d5
diff --git a/src/frontend/org/voltdb/RealVoltDB.java b/src/frontend/org/voltdb/RealVoltDB.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/RealVoltDB.java +++ b/src/frontend/org/voltdb/RealVoltDB.java @@ -3806,7 +3806,6 @@ public class RealVoltDB implements VoltDBInterface, RestoreAgent.Callback, HostM ...
ENG-<I>: Do not deregister stats for DRConsumerDispatcher as long as it's still maintained by ConsumerDRGateway
VoltDB_voltdb
train
java
c56f0250fc287ab7121744e0d3a35569e5de24b4
diff --git a/app/Http/Controllers/Auth/AuthController.php b/app/Http/Controllers/Auth/AuthController.php index <HASH>..<HASH> 100644 --- a/app/Http/Controllers/Auth/AuthController.php +++ b/app/Http/Controllers/Auth/AuthController.php @@ -29,9 +29,12 @@ class AuthController extends Controller { $serverUrl...
- first fix Multiple Connection: bucle redirect
alfredoem_ragnarok
train
php
9f37bfb7a9af60ba60e875a847b3c7279bf1b03f
diff --git a/notemplate.js b/notemplate.js index <HASH>..<HASH> 100644 --- a/notemplate.js +++ b/notemplate.js @@ -45,7 +45,10 @@ function getWindow(str) { xhtml: true }).createWindow(); window.console = console; + var tempfun = window.setTimeout; + window.setTimeout = function(fun, tt) { fun(); }; window.run(...
Ensure jQuery ready event is called before data event.
edasarl_express-notemplate
train
js
e9bd522776e1ad681c654273b98c02b0ecd06c57
diff --git a/photutils/aperture/tests/test_circle.py b/photutils/aperture/tests/test_circle.py index <HASH>..<HASH> 100644 --- a/photutils/aperture/tests/test_circle.py +++ b/photutils/aperture/tests/test_circle.py @@ -72,3 +72,18 @@ class TestSkyCircularAperture(BaseTestAperture): class TestSkyCircularAnnulus(BaseT...
Add tests for slicing apertures
astropy_photutils
train
py
7a879c2e7a87e6d68755d0f2a67681b52e779a78
diff --git a/indra/tools/reading/pmid_reading/read_pmids.py b/indra/tools/reading/pmid_reading/read_pmids.py index <HASH>..<HASH> 100644 --- a/indra/tools/reading/pmid_reading/read_pmids.py +++ b/indra/tools/reading/pmid_reading/read_pmids.py @@ -508,7 +508,7 @@ def run_sparser(pmid_list, tmp_dir, num_cores, start_inde...
Update path to reach conf file.
sorgerlab_indra
train
py
4494e02990d837a0530bba1d2012dd6989fcc06a
diff --git a/config/webpack/webpack.config.babel.js b/config/webpack/webpack.config.babel.js index <HASH>..<HASH> 100644 --- a/config/webpack/webpack.config.babel.js +++ b/config/webpack/webpack.config.babel.js @@ -10,6 +10,7 @@ import LIB_PATHS from '../lib/paths.config.js'; import { TARGET_ENV, + ifDev, ifM...
adding new "mode" configuration ; adding "optimization.minimize" to keep build functionality the same as before
openlattice_lattice-sagas
train
js
9f0eddc3c28c0b2df448e4a8a7577ed6b9c8dace
diff --git a/lib/MongooseAdmin.js b/lib/MongooseAdmin.js index <HASH>..<HASH> 100644 --- a/lib/MongooseAdmin.js +++ b/lib/MongooseAdmin.js @@ -16,6 +16,7 @@ var MongooseAdmin = module.exports = function MongooseAdmin(options) { MongooseAdmin.prototype.registerModel = function (model, modelName, opt_options) { + ...
Fix for when we have a model named actions
node4good_formage
train
js
6f17e1e3711797e757bd8a2b81bdb6e7875aa290
diff --git a/lib/dns/zone/rr/record.rb b/lib/dns/zone/rr/record.rb index <HASH>..<HASH> 100644 --- a/lib/dns/zone/rr/record.rb +++ b/lib/dns/zone/rr/record.rb @@ -53,7 +53,7 @@ class DNS::Zone::RR::Record # @option options [String] :last_label The last label used by the previous RR # @return [Object] def load(...
Test base Record class raises an exception when `#load` is called direct, should be overloaded by sub-class.
lantins_dns-zone
train
rb,rb
07ccf4ecb6ceef6afb6372dd5a31484d02fcf670
diff --git a/core/src/ons/platform.js b/core/src/ons/platform.js index <HASH>..<HASH> 100644 --- a/core/src/ons/platform.js +++ b/core/src/ons/platform.js @@ -87,7 +87,7 @@ class Platform { // iOS devices //---------------- /** - * @methos isIPhone + * @method isIPhone * @signature isIPhone() * @de...
fix(docs): Fix typos in `platform.js`.
OnsenUI_OnsenUI
train
js
cddc9e26218fb4a77d5baf184a96817d94937d1c
diff --git a/ropetest/refactor/extracttest.py b/ropetest/refactor/extracttest.py index <HASH>..<HASH> 100644 --- a/ropetest/refactor/extracttest.py +++ b/ropetest/refactor/extracttest.py @@ -1762,6 +1762,30 @@ class ExtractMethodTest(unittest.TestCase): """) self.assertEqual(expected, refactored) + ...
test(extract-method) recreating bug: Unable do extract method with try and subscriptable refs #<I>
python-rope_rope
train
py
cc61e5bb1a6823f765212942ee01e7b034ba7698
diff --git a/blocks/bloom/filter_test.go b/blocks/bloom/filter_test.go index <HASH>..<HASH> 100644 --- a/blocks/bloom/filter_test.go +++ b/blocks/bloom/filter_test.go @@ -6,6 +6,14 @@ import ( "testing" ) +func TestBasicFilter(t *testing.T) { + f := BasicFilter().(*filter) + + if len(f.filter) != 2048 { + t.Fatal...
test: Bloom filter, basic filter test License: MIT
ipfs_go-ipfs
train
go
a918b74270707d779505b37313d2306d7bd127ca
diff --git a/doc.go b/doc.go index <HASH>..<HASH> 100644 --- a/doc.go +++ b/doc.go @@ -734,25 +734,25 @@ This validates that a string value contains a valid isbn13 value. Universally Unique Identifier UUID -This validates that a string value contains a valid UUID. +This validates that a string value contains a val...
Updated doc.go with uuid_rfc<I> examples
go-playground_validator
train
go
1170c43600912d26bfd7dfdee98a93c119297c4a
diff --git a/parsedatetime/__init__.py b/parsedatetime/__init__.py index <HASH>..<HASH> 100644 --- a/parsedatetime/__init__.py +++ b/parsedatetime/__init__.py @@ -255,7 +255,7 @@ VERSION_FLAG_STYLE = 1 VERSION_CONTEXT_STYLE = 2 -class Calendar: +class Calendar(object): """ A collection of routines to inp...
Issue #<I> - Added back object inheritance and rtype Added back inheritance of object as it is required for python2 support. rtype is added back to reduce risk of overall impact of change.
bear_parsedatetime
train
py
6fa67781a0eaf732350c2023dd0c396becc827ce
diff --git a/tests/inspect/inspect.go b/tests/inspect/inspect.go index <HASH>..<HASH> 100644 --- a/tests/inspect/inspect.go +++ b/tests/inspect/inspect.go @@ -371,10 +371,10 @@ func main() { testPaths := []string{rootCgroupPath} // test a couple of controllers if they're available - if cgroup.IsIsolatorSupport...
functional tests: fix check-cgroup on inspect We're not mounting `/sys/fs/cgroup` on stage2 anymore so this check doesn't make sense. Let's just check on `/proc/1/root/sys/fs/cgroup/...`.
rkt_rkt
train
go
992cbebd304b1f1c8b05819b7f2039714adaec42
diff --git a/lib/rfd.rb b/lib/rfd.rb index <HASH>..<HASH> 100644 --- a/lib/rfd.rb +++ b/lib/rfd.rb @@ -259,7 +259,7 @@ module Rfd @items = Dir.foreach(current_dir).map {|fn| stat = File.lstat current_dir.join(fn) Item.new dir: current_dir, name: fn, stat: stat, window_width: maxx - ...
Be sure to always put . and .. at the top of the list
amatsuda_rfd
train
rb
79db7faf391748eb5d2a288228ff5e3caaf8e552
diff --git a/src/js/utils/time.js b/src/js/utils/time.js index <HASH>..<HASH> 100644 --- a/src/js/utils/time.js +++ b/src/js/utils/time.js @@ -143,7 +143,7 @@ export function timeCodeToSeconds(time, showFrameCount = false, fps = 25) { totalMinutes = (60 * hours) + minutes; output = ((hFrames * hours) + (mFrames *...
Fixed timecodeToSeconds returning frames instead of seconds
mediaelement_mediaelement
train
js
f8a5fb47fc6e7c724dca8b5d29b9a7cce557bb8e
diff --git a/src/main/java/com/github/dockerjava/api/model/Statistics.java b/src/main/java/com/github/dockerjava/api/model/Statistics.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/dockerjava/api/model/Statistics.java +++ b/src/main/java/com/github/dockerjava/api/model/Statistics.java @@ -16,6 +16,13 @...
Deprecate "network" and enable "networks" stats (remote Docker API <I>)
docker-java_docker-java
train
java
66ab3e5d7a098da3d1bd9e86b95fed5790a9b27f
diff --git a/Services/PublisherService.php b/Services/PublisherService.php index <HASH>..<HASH> 100644 --- a/Services/PublisherService.php +++ b/Services/PublisherService.php @@ -274,7 +274,7 @@ class PublisherService */ private function removeLegacy(\Newscoop\IngestPluginBundle\Entity\Feed\Entry $entry) ...
WOBS-<I>: Fixes typo where $this was left out when calling method articlesLegacy
newscoop_plugin-IngestPluginBundle
train
php
a35b82fa279356490640db090927caa3d106d4e3
diff --git a/spec/features/support/helpers.rb b/spec/features/support/helpers.rb index <HASH>..<HASH> 100644 --- a/spec/features/support/helpers.rb +++ b/spec/features/support/helpers.rb @@ -23,8 +23,8 @@ module Helpers def config_git cd_tmp_aruba do - system "git config user.name Ron Burgundy" - sy...
Fix so that local git commits to repos under test have local config `
infews_anchorman
train
rb
f07deada8e9d6cdf5f6d6138cb4ed56782219401
diff --git a/lib/active_record/connection_adapters/oracle_enhanced/column.rb b/lib/active_record/connection_adapters/oracle_enhanced/column.rb index <HASH>..<HASH> 100644 --- a/lib/active_record/connection_adapters/oracle_enhanced/column.rb +++ b/lib/active_record/connection_adapters/oracle_enhanced/column.rb @@ -5,7 +...
Remove TRUE_VALUES from OracleEnhancedColumn
rsim_oracle-enhanced
train
rb
723689c0bf511116b4f2f2df2b70bc41a5648928
diff --git a/src/main/java/com/onelogin/sdk/model/App.java b/src/main/java/com/onelogin/sdk/model/App.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/onelogin/sdk/model/App.java +++ b/src/main/java/com/onelogin/sdk/model/App.java @@ -9,7 +9,7 @@ public class App { public String icon; public String provisio...
loginId of App model must be a string, not integer
onelogin_onelogin-java-sdk
train
java
637e57fcd6bbe49440f8cd9431a95e124fee8883
diff --git a/sphinx_gallery/gen_rst.py b/sphinx_gallery/gen_rst.py index <HASH>..<HASH> 100644 --- a/sphinx_gallery/gen_rst.py +++ b/sphinx_gallery/gen_rst.py @@ -644,7 +644,7 @@ def generate_file_rst(fname, target_dir, src_dir, gallery_conf): # Writes md5 checksum if example has build correctly # not faile...
Simplify control logic on write md5sum file
sphinx-gallery_sphinx-gallery
train
py
ca1435c2d3511e91f9c3abe066398b6ebbc3f058
diff --git a/shinken/modules/logstore_sqlite.py b/shinken/modules/logstore_sqlite.py index <HASH>..<HASH> 100644 --- a/shinken/modules/logstore_sqlite.py +++ b/shinken/modules/logstore_sqlite.py @@ -167,7 +167,7 @@ class LiveStatusLogStoreSqlite(BaseModule): # 'options', 'plugin_output', 'service_description',...
Much more useful index for log stored in sqlite
Alignak-monitoring_alignak
train
py
77f2ba9559ff53987ce3e026f33275678617768e
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -26,15 +26,10 @@ module ActionDispatch def matches?(env) ...
refactor Routing::Mapper
rails_rails
train
rb
5801b4c97c4fe37b9adecefb46f28faf9eba418e
diff --git a/fireplace/player.py b/fireplace/player.py index <HASH>..<HASH> 100644 --- a/fireplace/player.py +++ b/fireplace/player.py @@ -77,10 +77,7 @@ class Player(Entity): ret = [] for entity in self.field: ret += entity.entities - # Secrets are only active on the opponent's turn - if not self.current_p...
Always include secrets in Player.entities
jleclanche_fireplace
train
py
14ca90dc19806c801cb33fef7db819e09519c1a5
diff --git a/lib/generators/unread/migration/templates/migration.rb b/lib/generators/unread/migration/templates/migration.rb index <HASH>..<HASH> 100644 --- a/lib/generators/unread/migration/templates/migration.rb +++ b/lib/generators/unread/migration/templates/migration.rb @@ -1,9 +1,8 @@ class UnreadMigration < Acti...
use rails standard way reference to declare polymorphic associations
ledermann_unread
train
rb
b8c90c36444b9c239935b470cb04adddf09e2c60
diff --git a/actionview/lib/action_view/template.rb b/actionview/lib/action_view/template.rb index <HASH>..<HASH> 100644 --- a/actionview/lib/action_view/template.rb +++ b/actionview/lib/action_view/template.rb @@ -298,9 +298,6 @@ module ActionView compile(mod) end - # Just discard th...
Don't discard source after rendering Previously, we would discard the template source after rendering, if we had a virtual path, in hopes that the virtual path would let us find our same template again going through the Resolver. Previously we discarded the source as an optimization, to avoid keeping it around in mem...
rails_rails
train
rb,rb
d3e1be9d1f864cf0221f35c88488d12baf6ce84b
diff --git a/src/wyjc/runtime/Util.java b/src/wyjc/runtime/Util.java index <HASH>..<HASH> 100755 --- a/src/wyjc/runtime/Util.java +++ b/src/wyjc/runtime/Util.java @@ -206,7 +206,7 @@ public class Util { /** * The <code>instanceOf</code> method implements a runtime type test. */ - public static boolean insta...
Minor bug fix for record instanceOf.
Whiley_WhileyCompiler
train
java
8e05ce610ac8b354dd2de8c610855fe8e3a821de
diff --git a/test/couchdb-filter-test.js b/test/couchdb-filter-test.js index <HASH>..<HASH> 100644 --- a/test/couchdb-filter-test.js +++ b/test/couchdb-filter-test.js @@ -94,6 +94,21 @@ vows.describe('resourceful/resource/view').addBatch({ assert.equal(res.length,1); assert.equal(res[0].author...
[test] Add test for `keys` query
flatiron_resourceful
train
js
daba67692eb85985c4d86900ed7c56e18caa3db7
diff --git a/modules/props.js b/modules/props.js index <HASH>..<HASH> 100644 --- a/modules/props.js +++ b/modules/props.js @@ -9,7 +9,7 @@ function updateProps(oldVnode, vnode) { for (key in props) { cur = props[key]; old = oldProps[key]; - if (old !== cur) { + if (old !== cur && (key !== 'value' || ...
Fix cursor jumping to the end of "controlled" inputs DOM `INPUT.value` should never be updated when it matches the new vnode. This fixes issues where typing into an INPUT with a sync event handler cause a render (such as for validation feedback) where setting `INPUT.value` also pushes the cursor to the end of the inp...
snabbdom_snabbdom
train
js
2783e69995a7bb54f3c4d23cc2a420cc3e9b0d88
diff --git a/src/lokijs.js b/src/lokijs.js index <HASH>..<HASH> 100644 --- a/src/lokijs.js +++ b/src/lokijs.js @@ -2137,7 +2137,7 @@ } }; // alias - Loki.prototype.save = Loki.prototype.saveToDisk; + Loki.prototype.save = Loki.prototype.saveDatabase; // future use for saving collections to...
renamed old save alias to point to saveDatabase
techfort_LokiJS
train
js
f8f78a297300ba45cca57b2a58ed9088ea64a193
diff --git a/pyemma/coordinates/tests/test_featurereader_and_tica.py b/pyemma/coordinates/tests/test_featurereader_and_tica.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/tests/test_featurereader_and_tica.py +++ b/pyemma/coordinates/tests/test_featurereader_and_tica.py @@ -110,7 +110,8 @@ class TestFeatureRead...
[coor/test_tica] lower tolerance for eigenvector comparision
markovmodel_PyEMMA
train
py
d1a9ad7093c7259f8b53c8a7287609c5501a8aa3
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,7 +6,9 @@ require 'bundler' Bundler.require(:default, :development) unless RUBY_VERSION =~ /^1\.8/ - SimpleCov.start + SimpleCov.start do + add_filter '/spec/' + end en...
Filter out spec files from the coverage report
njh_ruby-mqtt
train
rb
f5fd23b7eedb9b7ab0dcba04725e1119301a85f4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,14 +29,10 @@ def recursively_include(results, directory, patterns): results[directory] = [] results[directory].append(join(*filename.split(sep)[1:])) -recursively_include(package_data, 'pyth...
Added Setup file in recipes to bdists
kivy_python-for-android
train
py
6a535d42c62aecd93263780316cee27c0e75b8ed
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,6 @@ install_requires = [ 'redis==2.10.3', 'requests>=2.6.0,!=2.12.2,!=2.13.0', 'sqlparse>=0.1.11', - 'urllib3<1.18', ] setup(
Relax restriction on urllib3 as environment markers have been removed.
opennode_waldur-core
train
py
c8f5dbd839ac5113fa767f63706e3e0dece8f7f8
diff --git a/lib/configStore.js b/lib/configStore.js index <HASH>..<HASH> 100644 --- a/lib/configStore.js +++ b/lib/configStore.js @@ -275,6 +275,13 @@ class ConfigStore { for (let oppositeStoreName of Object.keys(refs)) { let storeRefs = refs[oppositeStoreName]; let oppos...
Find refs to store proxies
getblank_blank-node-worker
train
js
d8c0aa88e055c9f08a729827544b186561a6c203
diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -10,7 +10,7 @@ mod...
Add hack to deal with warnings We should be able to remove this once the catch-all route is gone from AP
rails_rails
train
rb
2fa206e76a76dc8401877d1cb08a875145551209
diff --git a/lib/yard/templates/engine.rb b/lib/yard/templates/engine.rb index <HASH>..<HASH> 100644 --- a/lib/yard/templates/engine.rb +++ b/lib/yard/templates/engine.rb @@ -37,10 +37,15 @@ module YARD mod end - def render(options = {}) + def render(options = {}, serialize = true) ...
Only serialize if serialize is marked true
lsegal_yard
train
rb
656e5036c140fafab78a5c07c244a7622f64147f
diff --git a/pyrogram/client/ext/utils.py b/pyrogram/client/ext/utils.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/ext/utils.py +++ b/pyrogram/client/ext/utils.py @@ -801,7 +801,7 @@ def parse_callback_query(client, callback_query, users): peer_id = int("-100" + str(peer.channel_id)) return pyro...
Fix callback query id not being a string
pyrogram_pyrogram
train
py
e0c5c5e9746206894bd114c454411b3a208bd689
diff --git a/lib/moodlelib.php b/lib/moodlelib.php index <HASH>..<HASH> 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -4384,7 +4384,7 @@ function get_string($identifier, $module='', $a=NULL) { global $course; /// Not a nice hack, but quick if (empty($CFG->courselang)) { - if (isset($c...
Remove potential PHP notices when $course is not an object.
moodle_moodle
train
php
f691b8d997327a09824881810cf1edaeb53d7579
diff --git a/telemetry/telemetry/internal/backends/app_backend.py b/telemetry/telemetry/internal/backends/app_backend.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/internal/backends/app_backend.py +++ b/telemetry/telemetry/internal/backends/app_backend.py @@ -16,9 +16,6 @@ class AppBackend(six.with_metaclass...
[Telemetry] Remove custom destructor from AppBackend Closing the backend in the destructor is 1) Redundant since the backend is being closed from Browser.close() 2) Dangerous since it can happen at any moment due to garbage collection and cause deadlocks in tracing code (see the bug). Bug: chromium:<I> Change-Id: I<I...
catapult-project_catapult
train
py
0dde8d028847ea2052d298fe5c0c3935ebce05b7
diff --git a/race_test.go b/race_test.go index <HASH>..<HASH> 100644 --- a/race_test.go +++ b/race_test.go @@ -38,7 +38,7 @@ var _ = Describe("Notifier", func() { It("is race free", func() { var wg sync.WaitGroup - for i := 0; i < 1000; i++ { + for i := 0; i < 100; i++ { wg.Add(1) go func() { defe...
race_test: fix the "too many open files" message
airbrake_gobrake
train
go
c5d0dcc1c384865739b66ccd28a2b357cea08fee
diff --git a/src/main/java/com/netflix/config/DynamicPropertyFactory.java b/src/main/java/com/netflix/config/DynamicPropertyFactory.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/netflix/config/DynamicPropertyFactory.java +++ b/src/main/java/com/netflix/config/DynamicPropertyFactory.java @@ -194,7 +194,7 @@ p...
suppress logging from DynamicPropertyFactory.
Netflix_archaius
train
java
6896399faf43c769c5c7ec0792c3931157d96fde
diff --git a/core-bundle/src/Resources/contao/library/Contao/Model.php b/core-bundle/src/Resources/contao/library/Contao/Model.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/library/Contao/Model.php +++ b/core-bundle/src/Resources/contao/library/Contao/Model.php @@ -189,6 +189,7 @@ abstract clas...
[Core] Clean modifications when clone a model.
contao_contao
train
php
e4902af15a572843716aef2affab5a768cc473df
diff --git a/lib/devise/version.rb b/lib/devise/version.rb index <HASH>..<HASH> 100644 --- a/lib/devise/version.rb +++ b/lib/devise/version.rb @@ -1,3 +1,3 @@ module Devise - VERSION = "1.4.6".freeze + VERSION = "1.4.7".freeze end
Release <I> with a backward compatibility fix.
plataformatec_devise
train
rb
0cab4b3943ad1af2d4f8b9ced6e881dde309817a
diff --git a/bingo/admin.py b/bingo/admin.py index <HASH>..<HASH> 100644 --- a/bingo/admin.py +++ b/bingo/admin.py @@ -1,4 +1,6 @@ from django.contrib import admin +from django.db import models +from django import forms from models import * @@ -28,10 +30,10 @@ def bingo_board_name(bingo_board): bingo_board_name....
changed fields to readonly in the admin interface * many fields should not be changed anyway * generating a list of possible Games for a BingoBoard or BingoBoards for a BingoField takes a long time, if there are many such objects from old games.
allo-_django-bingo
train
py
901180475e90eb189f20ed0d8d008d2c40601bae
diff --git a/js/lib/cli.js b/js/lib/cli.js index <HASH>..<HASH> 100755 --- a/js/lib/cli.js +++ b/js/lib/cli.js @@ -131,7 +131,7 @@ var interpret = exports.interpret = function(argv, slice) { cleanOptions(cc.env('jsbeautify_'), knownOpts), parsed.config, cc.find('.jsbeautifyrc'), - cc.f...
Update cli.js HOME environment variable usually not defined in windows.
beautify-web_js-beautify
train
js
789a21b9de43ab76f92141d52ecce237d9684589
diff --git a/aeron-archive/src/main/java/io/aeron/archive/RecordingFragmentReader.java b/aeron-archive/src/main/java/io/aeron/archive/RecordingFragmentReader.java index <HASH>..<HASH> 100644 --- a/aeron-archive/src/main/java/io/aeron/archive/RecordingFragmentReader.java +++ b/aeron-archive/src/main/java/io/aeron/archiv...
[Java] Clarify logic on what stop position is updated when replaying.
real-logic_aeron
train
java
64c71e0bf41bf4caaf2f4ec38e1ce093b8d8a142
diff --git a/core/common/src/test/java/alluxio/security/LoginUserTestUtils.java b/core/common/src/test/java/alluxio/security/LoginUserTestUtils.java index <HASH>..<HASH> 100644 --- a/core/common/src/test/java/alluxio/security/LoginUserTestUtils.java +++ b/core/common/src/test/java/alluxio/security/LoginUserTestUtils.ja...
[ALLUXIO-<I>] Update LoginUserTestUtils: setting configuration without restoring it is bad. Use whitebox directly to modify the value
Alluxio_alluxio
train
java
9bfb085a0fffd01bb955282d948530cd5d802b2a
diff --git a/test/common/driver.py b/test/common/driver.py index <HASH>..<HASH> 100644 --- a/test/common/driver.py +++ b/test/common/driver.py @@ -962,7 +962,7 @@ class ProxyProcess(Process): # prepend 'proxy' self.options.insert(0, 'proxy') - def subclass_options(options): + def subclass_opti...
fix for proxy startup error over-the-shoulder by @damielmews
rethinkdb_rethinkdb
train
py
933690a426fd115135d4562a5e9586e93537e145
diff --git a/lib/mach/port.rb b/lib/mach/port.rb index <HASH>..<HASH> 100644 --- a/lib/mach/port.rb +++ b/lib/mach/port.rb @@ -69,8 +69,6 @@ module Mach # must already have the requisite rights allowing it to send # +right+. def send_right(right, remote_port) - puts "send_right: (in #{mach_task_self...
Remove logging statement from #send_right.
pmahoney_process_shared
train
rb
30951e9203ea8732d5b42528004092758f46f6df
diff --git a/src/components/DragBox/DragBox.js b/src/components/DragBox/DragBox.js index <HASH>..<HASH> 100644 --- a/src/components/DragBox/DragBox.js +++ b/src/components/DragBox/DragBox.js @@ -274,9 +274,9 @@ class DragBox extends React.Component { b1.y <= b2.y + b2.height && b2.y + b2.height <= b1.y + b1.h...
hide selection box when clicking on items normally (#<I>)
Bandwidth_shared-components
train
js
3d039c36eb107440efb996afa13f91645e317018
diff --git a/gorp_test.go b/gorp_test.go index <HASH>..<HASH> 100644 --- a/gorp_test.go +++ b/gorp_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" "fmt" - _ "github.com/bmizerany/pq" + _ "github.com/lib/pq" _ "github.com/mattn/go-sqlite3" _ "github.com/ziutek/mymysql/godrv" "log"
pq repo moved now at github.com/lib/pq
go-gorp_gorp
train
go
feb791f03e0c3c2ff4c17decbcdad665669f8898
diff --git a/lib/youtube-dl/runner.rb b/lib/youtube-dl/runner.rb index <HASH>..<HASH> 100644 --- a/lib/youtube-dl/runner.rb +++ b/lib/youtube-dl/runner.rb @@ -73,7 +73,7 @@ module YoutubeDL # # @return [String] youtube-dl executable path def usable_executable_path - system_path = `which youtube-dl` ...
Suppress "which: no youtube-dl" message. Fixes #7 The `which` command currently only works on Unix machines and as such will probably not work on an unpatched Windows installation.
layer8x_youtube-dl.rb
train
rb
27a24651aeb0436e7509bac6638d9974a4578816
diff --git a/lib/neo4j-core/query.rb b/lib/neo4j-core/query.rb index <HASH>..<HASH> 100644 --- a/lib/neo4j-core/query.rb +++ b/lib/neo4j-core/query.rb @@ -157,16 +157,16 @@ module Neo4j::Core end end.flatten.map(&:to_sym) - query = self.return(columns) + query = query.return(columns) ...
Fix pluck (should use the temporary built query rather than self
neo4jrb_neo4j-core
train
rb
b0b79a3d2292e509d316aa10a009914bed3fdd40
diff --git a/plugins/ws.js b/plugins/ws.js index <HASH>..<HASH> 100644 --- a/plugins/ws.js +++ b/plugins/ws.js @@ -96,7 +96,7 @@ module.exports = function (opts) { stream.address = addr return function () { - stream.close(cb) + stream.close() } }, stringify: function (scop...
do not pass cb to stream.close, stream will call it's own close cb anyway
ssbc_multiserver
train
js
a6f6725d059621512d9af0ac9912a669b3413d82
diff --git a/closure/goog/testing/testrunner.js b/closure/goog/testing/testrunner.js index <HASH>..<HASH> 100644 --- a/closure/goog/testing/testrunner.js +++ b/closure/goog/testing/testrunner.js @@ -94,7 +94,7 @@ goog.testing.TestRunner = function() { * @private {!string} */ this.uniqueId_ = Math.random() + ...
Use the complete filename, not just stuff after any dot. Turns out -- of course -- some test in Google3 uses a dot in the filename. RELNOTES: n/a ------------- Created by MOE: <URL>
google_closure-library
train
js
2d514c6c34eaf1b4ca277ef9b0a3766d5ee6b0f1
diff --git a/bettercache/__init__.py b/bettercache/__init__.py index <HASH>..<HASH> 100755 --- a/bettercache/__init__.py +++ b/bettercache/__init__.py @@ -1 +0,0 @@ -from .objects import CacheModel, Key, Field diff --git a/bettercache/tests/settings.py b/bettercache/tests/settings.py index <HASH>..<HASH> 100644 --- a/...
Switching test settings to local memory cache, so we can actually test cache stuff, because this is a caching library.
ironfroggy_django-better-cache
train
py,py