hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
b93dc609bdcd91a93583f51eb7cd21c3843f5e56 | diff --git a/src/DoctrineORMModule/Service/ConfigurationFactory.php b/src/DoctrineORMModule/Service/ConfigurationFactory.php
index <HASH>..<HASH> 100644
--- a/src/DoctrineORMModule/Service/ConfigurationFactory.php
+++ b/src/DoctrineORMModule/Service/ConfigurationFactory.php
@@ -90,11 +90,11 @@ class ConfigurationFactor... | Compatbile with ZF3 | doctrine_DoctrineORMModule | train |
bac25fb4eeaa4c5aece98e35b94cdbeb4a49c641 | diff --git a/lib/nexpose/api.rb b/lib/nexpose/api.rb
index <HASH>..<HASH> 100644
--- a/lib/nexpose/api.rb
+++ b/lib/nexpose/api.rb
@@ -54,7 +54,9 @@ module Nexpose
obj = class_from_string(k)
resp = AJAX.get(nsc, url, AJAX::CONTENT_TYPE::JSON)
hash = JSON.parse(resp, symbolize_names: true)
- if... | Handles arrays of hashes as well as hashes.
Also add conversion of Vulnerabilities to Vulnerability. | rapid7_nexpose-client | train |
4ce6854b85d7cd9d4fbe7d04cf310d9466f00bf6 | diff --git a/src/Jobs/Controller/ManageController.php b/src/Jobs/Controller/ManageController.php
index <HASH>..<HASH> 100644
--- a/src/Jobs/Controller/ManageController.php
+++ b/src/Jobs/Controller/ManageController.php
@@ -47,6 +47,9 @@ class ManageController extends AbstractActionController {
$p = $this->para... | [Auth] user who had been initialised by the Rest-Server must use the suffix of their interface to log in | yawik_jobs | train |
99deb66c2625f258bf6af542d7ccdf334c9a19f5 | diff --git a/src/Controller/Base.php b/src/Controller/Base.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Base.php
+++ b/src/Controller/Base.php
@@ -15,7 +15,7 @@ namespace Nails\Admin\Controller;
use Nails\Factory;
-class Base extends \MX_Controller
+abstract class Base extends \MX_Controller
{
protec... | Making base controllers abstract + added `afterEdit()` and `afterCreate()` methods for post action processing | nails_module-admin | train |
0d2ea9365ae6ac68ce8ed736f128eefd79c87d03 | diff --git a/interop-testing/src/main/java/io/grpc/testing/integration/AltsHandshakerTestService.java b/interop-testing/src/main/java/io/grpc/testing/integration/AltsHandshakerTestService.java
index <HASH>..<HASH> 100644
--- a/interop-testing/src/main/java/io/grpc/testing/integration/AltsHandshakerTestService.java
+++ ... | interop-testing: fix alts handshaking race (#<I>) | grpc_grpc-java | train |
b2babb851ad070b7d1930c5a66fea9350645a8f6 | diff --git a/openquake/input/logictree.py b/openquake/input/logictree.py
index <HASH>..<HASH> 100644
--- a/openquake/input/logictree.py
+++ b/openquake/input/logictree.py
@@ -698,7 +698,7 @@ class SourceModelLogicTree(BaseLogicTree):
if nonexistent_source_ids:
raise ValidationError(
... | logictree: removed continuation backslashes from where they can be avoided | gem_oq-engine | train |
c141ea6111ffbbac220336d77188654239d15bf1 | diff --git a/src/layout/position.js b/src/layout/position.js
index <HASH>..<HASH> 100644
--- a/src/layout/position.js
+++ b/src/layout/position.js
@@ -52,6 +52,10 @@ dagre.layout.position = function() {
var dir = vertDir + horizDir;
var align = verticalAlignment(g, layering, conflicts, vertDir === "u"... | Add debugging for obviously bad positioning assignments | dagrejs_dagre-d3 | train |
0b77c364b7d78a360ceea2127e53027b5809f788 | diff --git a/lib/podio/areas/oauth.rb b/lib/podio/areas/oauth.rb
index <HASH>..<HASH> 100644
--- a/lib/podio/areas/oauth.rb
+++ b/lib/podio/areas/oauth.rb
@@ -80,6 +80,11 @@ module Podio
response = Podio.connection.delete("/oauth/grant/client/#{id}")
response.status
+ end
+
+ def reset(i... | Added method in oauth area | podio_podio-rb | train |
a1aa3ca3186a50ba7d347f36580b16293231912a | diff --git a/src/exp.js b/src/exp.js
index <HASH>..<HASH> 100755
--- a/src/exp.js
+++ b/src/exp.js
@@ -431,7 +431,7 @@ async function checkForUpdateAsync() {
message = `There is a new version of ${packageJSON.name} available (${latest}).
You are currently using ${packageJSON.name} ${current}
Run \`npm install ... | Remove timestamp from update notification
fbshipit-source-id: <I>a<I> | expo_exp | train |
ec8843ad9b49b40c60278857932aa379d96ec9f3 | diff --git a/retext.py b/retext.py
index <HASH>..<HASH> 100755
--- a/retext.py
+++ b/retext.py
@@ -25,7 +25,7 @@ from PyQt4.QtCore import *
from PyQt4.QtGui import *
app_name = "ReText"
-app_version = "2.0 pre 7"
+app_version = "2.0 pre 8"
s = QSettings('ReText project', 'ReText')
@@ -348,10 +348,20 @@ class R... | Beta branch update (<I> pre 8)
* Don't need to use try-except-else on changin default parser,
Instead just connect the action triggering after initializing other stuff | retext-project_retext | train |
7531d8a799f1a0cc08f6b57d1b477e2d467ad2fd | diff --git a/galpy/orbit_src/integratePlanarOrbit.py b/galpy/orbit_src/integratePlanarOrbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit_src/integratePlanarOrbit.py
+++ b/galpy/orbit_src/integratePlanarOrbit.py
@@ -18,7 +18,7 @@ if _lib is None:
_lib = None
else:
break
-if _lib is... | don't cover not being able to load the integration library | jobovy_galpy | train |
060c9b3de7e0727e1cc5232bc7ff24d39b1cc6c5 | diff --git a/lib/stack.js b/lib/stack.js
index <HASH>..<HASH> 100644
--- a/lib/stack.js
+++ b/lib/stack.js
@@ -18,7 +18,8 @@ const skip = (process.cwd() !== tapDir ||
/node_modules[\/\\]tap[\/\\]/,
/at internal\/.*\.js:\d+:\d+/m,
new RegExp(resc(path.resolve(osHomedir(), '.node-spawn-wrap-')) + '.*'),
- ... | Ignore Generator.next(<anonymous>) in stacks | tapjs_node-tap | train |
29cda465227b1cd03b761459ca91c441faff5b0e | diff --git a/lib/jsi/base.rb b/lib/jsi/base.rb
index <HASH>..<HASH> 100644
--- a/lib/jsi/base.rb
+++ b/lib/jsi/base.rb
@@ -252,13 +252,9 @@ module JSI
if !token_is_ours && token_schema && token_schema.key?('default')
# use the default value
default = token_schema['default']
- if ... | refactor Base#[] handling default. access default from dup'd JSI regardless of type. | notEthan_jsi | train |
3d50a6b72aabd4f3eb4a309a0df51c6d0db619d9 | diff --git a/extras/src/main/java/com/google/gson/typeadapters/RuntimeTypeAdapter.java b/extras/src/main/java/com/google/gson/typeadapters/RuntimeTypeAdapter.java
index <HASH>..<HASH> 100644
--- a/extras/src/main/java/com/google/gson/typeadapters/RuntimeTypeAdapter.java
+++ b/extras/src/main/java/com/google/gson/typead... | New failing test for RuntimeTypeAdapters! | google_gson | train |
b4dfe0cce367535478be49a0a37c92f66af316aa | diff --git a/DependencyInjection/Compiler/ConfigurationLoaderPass.php b/DependencyInjection/Compiler/ConfigurationLoaderPass.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Compiler/ConfigurationLoaderPass.php
+++ b/DependencyInjection/Compiler/ConfigurationLoaderPass.php
@@ -3,6 +3,7 @@
namespace AutoMapper... | Add priority support to `automapper_plus.configurator` tag (#7) | mark-gerarts_automapper-plus-bundle | train |
27208b04b736b68c5a7fb2c0b0e681bec76c32ef | diff --git a/src/globus_cli/commands/api.py b/src/globus_cli/commands/api.py
index <HASH>..<HASH> 100644
--- a/src/globus_cli/commands/api.py
+++ b/src/globus_cli/commands/api.py
@@ -198,6 +198,7 @@ sends a 'GET' request to '{_get_url(service_name)}foo/bar'
help="If the server responds with a redirect (a 3xx r... | Add api --no-retry and fix tests
`globus api` commands now allow a flag `--no-retry` to disable
automatic request retries.
The tests for `globus api` which use error responses now pass
`--no-retry`. | globus_globus-cli | train |
599f1601f4b3b700cb1297f472d7c5eb35146bfb | diff --git a/src/Kunstmaan/SearchBundle/Provider/ElasticaProvider.php b/src/Kunstmaan/SearchBundle/Provider/ElasticaProvider.php
index <HASH>..<HASH> 100644
--- a/src/Kunstmaan/SearchBundle/Provider/ElasticaProvider.php
+++ b/src/Kunstmaan/SearchBundle/Provider/ElasticaProvider.php
@@ -141,16 +141,24 @@ class ElasticaP... | Add basic auth support for Elasticsearch with shield plugin | Kunstmaan_KunstmaanBundlesCMS | train |
59fb91385ba045f3cfc9f8eac5f5dd26cd09ee69 | diff --git a/src/Bundle/EventListener/EncodeJsonResponseListener.php b/src/Bundle/EventListener/EncodeJsonResponseListener.php
index <HASH>..<HASH> 100644
--- a/src/Bundle/EventListener/EncodeJsonResponseListener.php
+++ b/src/Bundle/EventListener/EncodeJsonResponseListener.php
@@ -4,6 +4,7 @@ namespace Alchemy\RestBun... | Set controller result as response if already a response | alchemy-fr_rest-bundle | train |
20ca5c79183597eaac9c7f21c3894528ede17cb8 | diff --git a/angular-file-upload.js b/angular-file-upload.js
index <HASH>..<HASH> 100644
--- a/angular-file-upload.js
+++ b/angular-file-upload.js
@@ -27,7 +27,6 @@ if (!angularFileUpload.html5) {
break;
}
}
- base += "FileAPI.min.js"
}
if (!window.FileAPI || FileAPI.staticPath == nul... | reverting Merge pull request #<I> | danialfarid_ng-file-upload | train |
447e835251cf7506db46b2ad244748563d838cf2 | diff --git a/lib/internal/throttled-queue.js b/lib/internal/throttled-queue.js
index <HASH>..<HASH> 100644
--- a/lib/internal/throttled-queue.js
+++ b/lib/internal/throttled-queue.js
@@ -46,15 +46,8 @@ exports.inject = function(setTimeout, getTime) {
setTimeout(function() {
scheduled = false;
- ... | Make the queue simpler, and keep the knowledge about being cancelled inside the
task. | googlemaps_google-maps-services-js | train |
089146428a7f68d4fa1868e731767d534ca7ff4a | diff --git a/lib/simple_navigation/adapters/sinatra.rb b/lib/simple_navigation/adapters/sinatra.rb
index <HASH>..<HASH> 100644
--- a/lib/simple_navigation/adapters/sinatra.rb
+++ b/lib/simple_navigation/adapters/sinatra.rb
@@ -1,3 +1,5 @@
+require 'cgi'
+
module SimpleNavigation
module Adapters
class Sinatra <... | ! require 'cgi' in sinatra adapter | codeplant_simple-navigation | train |
450dd39b2ea9ef3aba599a335e8662b35b8a0ab5 | diff --git a/flask_blogging/sqlastorage.py b/flask_blogging/sqlastorage.py
index <HASH>..<HASH> 100644
--- a/flask_blogging/sqlastorage.py
+++ b/flask_blogging/sqlastorage.py
@@ -55,13 +55,19 @@ class SQLAStorage(Storage):
self._metadata = metadata or sqla.MetaData()
self._info = {} if self._bind ... | Fix for the automap_base issue | gouthambs_Flask-Blogging | train |
e0d868bb281c89661f2cb55ba36bf7ea8a210510 | diff --git a/lib/thinking_sphinx/connection.rb b/lib/thinking_sphinx/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/thinking_sphinx/connection.rb
+++ b/lib/thinking_sphinx/connection.rb
@@ -62,6 +62,8 @@ module ThinkingSphinx::Connection
:port => port,
:flags => Mysql2::Client::MULTI_STATEMENTS
... | Connection failures have their own custom error class: ThinkingSphinx::ConnectionError.
Closes #<I>. | pat_thinking-sphinx | train |
a2ee48db286728644b68ae8563748e287eccfb6d | diff --git a/src/Behat/Mink/Driver/SahiDriver.php b/src/Behat/Mink/Driver/SahiDriver.php
index <HASH>..<HASH> 100644
--- a/src/Behat/Mink/Driver/SahiDriver.php
+++ b/src/Behat/Mink/Driver/SahiDriver.php
@@ -163,8 +163,7 @@ JS;
if (null === $value) {
$this->deleteCookie($name);
} else {
- ... | Improved the escaping of variables used in JS code
Some of these variables where not being escaped, or only partially. | minkphp_MinkSahiDriver | train |
2c9f4ac1eddb29a04c8ce351225a5e2f1f1000c1 | diff --git a/packages/reactabular-virtualized/src/body.js b/packages/reactabular-virtualized/src/body.js
index <HASH>..<HASH> 100644
--- a/packages/reactabular-virtualized/src/body.js
+++ b/packages/reactabular-virtualized/src/body.js
@@ -12,17 +12,7 @@ class VirtualizedBody extends React.Component {
this.ref = nu... | virtualized - Simplify update logic reset
Earlier this was one step too far so it worked only after two passes
(initial was skipped). Simpler this way too. | reactabular_reactabular | train |
888fe9ee04a9bea3fe40f088459c062e24fdb49e | diff --git a/policies/enforce-document-scope.js b/policies/enforce-document-scope.js
index <HASH>..<HASH> 100644
--- a/policies/enforce-document-scope.js
+++ b/policies/enforce-document-scope.js
@@ -74,44 +74,58 @@ internals.enforceDocumentScopePost = function(model) {
internals.verifyScope = function(model, documen... | Completed "pre" document authorization. | JKHeadley_rest-hapi | train |
25ff6b713bfc32c367d20861165a8cb1ebfde423 | diff --git a/werkzeug/debug/repr.py b/werkzeug/debug/repr.py
index <HASH>..<HASH> 100644
--- a/werkzeug/debug/repr.py
+++ b/werkzeug/debug/repr.py
@@ -182,8 +182,10 @@ class DebugReprGenerator(object):
return _add_subclass_info(u''.join(buf), d, dict)
def object_repr(self, obj):
- return u'<span ... | Fix debug repr for objects on 3.x | pallets_werkzeug | train |
57c851ba02fa4ccef6d710784410e98a1f4a3ab1 | diff --git a/credolib/qualitycontrol.py b/credolib/qualitycontrol.py
index <HASH>..<HASH> 100644
--- a/credolib/qualitycontrol.py
+++ b/credolib/qualitycontrol.py
@@ -196,13 +196,25 @@ def assess_fitting_results(basename, cormap_alpha=0.01):
chi2 = calc_chi2(fir[:, 1], fir[:, 2], fir[:, 3])
R2 = calc_R2(fir[:... | Make assess_fitting_results() more tolerant against starting lines in .fit files. | awacha_credolib | train |
2ed25115c7b53ef65a7d25f0538aa492e0fa1198 | diff --git a/airavata/model/experiment/ttypes.py b/airavata/model/experiment/ttypes.py
index <HASH>..<HASH> 100644
--- a/airavata/model/experiment/ttypes.py
+++ b/airavata/model/experiment/ttypes.py
@@ -42,6 +42,7 @@ class ExperimentSearchFields(object):
TO_DATE = 4
STATUS = 5
PROJECT_ID = 6
+ USER_NA... | AIRAVATA-<I> Regenerated Thrift stubs | apache_airavata-django-portal | train |
348472d9fc04eabbfebaf2d35c4b1c6094d14662 | diff --git a/js/base/errors.js b/js/base/errors.js
index <HASH>..<HASH> 100644
--- a/js/base/errors.js
+++ b/js/base/errors.js
@@ -20,12 +20,12 @@ module.exports = subclass (
'NullResponse': {},
},
'InsufficientFunds': {},
- 'AccountFrozen': {},
... | Move AccountFrozen to InvalidOrder | ccxt_ccxt | train |
797635ed3152a5526741ba924602dc2ee3ae687c | diff --git a/symfit/core/fit.py b/symfit/core/fit.py
index <HASH>..<HASH> 100644
--- a/symfit/core/fit.py
+++ b/symfit/core/fit.py
@@ -1095,34 +1095,6 @@ class TakesData(object):
return np.array([param.value for param in self.model.params])
-class BaseFit(TakesData):
- """
- Abstract base class for a... | BaseFit was a rogue program whose return to the source was inevitable. | tBuLi_symfit | train |
398793bfc0e75663359f6052152329e789f91fa2 | diff --git a/salt/modules/test.py b/salt/modules/test.py
index <HASH>..<HASH> 100644
--- a/salt/modules/test.py
+++ b/salt/modules/test.py
@@ -541,6 +541,6 @@ def assertion(assertion):
.. code-block:: bash
- salt '*' test.assert False
+ salt '*' test.assertion False
'''
assert assertion | Fix minor document error of test.assertion (#<I>) | saltstack_salt | train |
7fa6a5f9d7df56cebb6616cef42317fb5530a755 | diff --git a/lib/addressfinder/cleanse.rb b/lib/addressfinder/cleanse.rb
index <HASH>..<HASH> 100644
--- a/lib/addressfinder/cleanse.rb
+++ b/lib/addressfinder/cleanse.rb
@@ -59,8 +59,11 @@ module AddressFinder
end
def encoded_params
- query = params.map{|k,v| "#{k}=#{v}"}.join('&')
- URI::encode(... | handle encoding of question marks and other unexpected values | AbleTech_addressfinder-ruby | train |
5b48d9d88f34e33bbda934998e41f47277b446ff | diff --git a/src/qinfer/rb.py b/src/qinfer/rb.py
index <HASH>..<HASH> 100644
--- a/src/qinfer/rb.py
+++ b/src/qinfer/rb.py
@@ -39,9 +39,23 @@ from operator import mul
## FUNCTIONS ##################################################################
def p(F, d=2):
+ """
+ Given the fidelity of a gate in :math:`d... | Added docstrings for p and F. | QInfer_python-qinfer | train |
caa784ab7b70701a643dab2ca1f4abbcf2a85194 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -31,10 +31,16 @@ requirements = [
'requests>=2.13.0',
'scipy>=0.18.1',
'six>=1.10.0',
- 'tensorflow>=1.0.0',
'Werkzeug>=0.11.15',
]
+# only add tensorflow as a requirement if it is not already provide... | only add tensorflow as a requirement if it is not already provided (#<I>) | merantix_picasso | train |
4b76c6bc96e238e63a2b4ef7a33d90a6e714be5d | diff --git a/plugins/TestRunner/Commands/CodeCoverage.php b/plugins/TestRunner/Commands/CodeCoverage.php
index <HASH>..<HASH> 100644
--- a/plugins/TestRunner/Commands/CodeCoverage.php
+++ b/plugins/TestRunner/Commands/CodeCoverage.php
@@ -7,7 +7,7 @@
*
*/
-namespace Piwik\Plugins\CoreConsole\Commands;
+namespace ... | refs #<I> my changes were not added... make sure to use correct namespace | matomo-org_matomo | train |
7450d4f4087f80cb15090b2325be2eb09a1e20ab | diff --git a/search/plugins/ezsolr/ezsolr.php b/search/plugins/ezsolr/ezsolr.php
index <HASH>..<HASH> 100644
--- a/search/plugins/ezsolr/ezsolr.php
+++ b/search/plugins/ezsolr/ezsolr.php
@@ -849,6 +849,16 @@ class eZSolr implements ezpSearchEngine
$asObjects = isset( $params['AsObjects'] ) ? $params['AsObjec... | Improved support for distributed search: honour fields to return | ezsystems_ezfind | train |
ae57f463d8dfd2ac4c9870af7a99a2ede597e5d7 | diff --git a/tasklib/lazy.py b/tasklib/lazy.py
index <HASH>..<HASH> 100644
--- a/tasklib/lazy.py
+++ b/tasklib/lazy.py
@@ -91,6 +91,9 @@ class LazyUUIDTaskSet(object):
def __eq__(self, other):
return set(t['uuid'] for t in other) == self._uuids
+ def __ne__(self, other):
+ return not (self == ... | LazyUUIDTaskSet: Add additional methods to simulate the set object | robgolding_tasklib | train |
e021e25e574b6c4e6e5a792b0d24aba96c6b74f5 | diff --git a/Rakefile b/Rakefile
index <HASH>..<HASH> 100644
--- a/Rakefile
+++ b/Rakefile
@@ -21,4 +21,4 @@ RDoc::Task.new do |rdoc|
rdoc.main = "README.md"
rdoc.rdoc_files.include("README.md", "lib/*.rb", "lib/**/*.rb")
rdoc.rdoc_dir = "doc"
-end
\ No newline at end of file
+end
diff --git a/lib/news_scraper... | Fix up some docs, formatting | news-scraper_news_scraper | train |
832b9976cc3407c2b720caf0aea6c0db49f41605 | diff --git a/Tests/Entity/SwaggerTest.php b/Tests/Entity/SwaggerTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Entity/SwaggerTest.php
+++ b/Tests/Entity/SwaggerTest.php
@@ -51,9 +51,9 @@ class SwaggerTest extends \PHPUnit_Framework_TestCase
public function testVersion()
{
$this->assertClassHasAttri... | Increased swagger version number in test | epfremmer_swagger-php | train |
e891cd3ede58ce275291ae5c3c76fdc65b2a6f77 | diff --git a/examples/translations/chinese_test_1.py b/examples/translations/chinese_test_1.py
index <HASH>..<HASH> 100755
--- a/examples/translations/chinese_test_1.py
+++ b/examples/translations/chinese_test_1.py
@@ -1,7 +1,7 @@
-from seleniumbase.translate.chinese import 硒测试用例
+from seleniumbase.translate.chinese im... | Add comments to avoid flake8 issues | seleniumbase_SeleniumBase | train |
a256a664726438ac3db2e30156a114538042ca72 | diff --git a/versionner.py b/versionner.py
index <HASH>..<HASH> 100755
--- a/versionner.py
+++ b/versionner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import argparse
import codecs | use python3 in shebang | msztolcman_versionner | train |
b130d25d21b486fd82cf6f7a47be8882f7406f4c | diff --git a/client/extensions/woocommerce/woocommerce-services/state/label-settings/selectors.js b/client/extensions/woocommerce/woocommerce-services/state/label-settings/selectors.js
index <HASH>..<HASH> 100644
--- a/client/extensions/woocommerce/woocommerce-services/state/label-settings/selectors.js
+++ b/client/ext... | Store: Show warning notice with retry on failure to retrieve payment methods (#<I>) | Automattic_wp-calypso | train |
de1e99bdd0657cc44b4cdf93500d4f466cba42b7 | diff --git a/lib/aasm/core/event.rb b/lib/aasm/core/event.rb
index <HASH>..<HASH> 100644
--- a/lib/aasm/core/event.rb
+++ b/lib/aasm/core/event.rb
@@ -139,6 +139,7 @@ module AASM::Core
end
transitions.each do |transition|
+ transition.failures.clear #https://github.com/aasm/aasm/issues/383
... | Fix failures array in transition not being reset | aasm_aasm | train |
42bedb97c2beb4541fb39e37bc4e5a6bd10f5986 | diff --git a/api/state.go b/api/state.go
index <HASH>..<HASH> 100644
--- a/api/state.go
+++ b/api/state.go
@@ -71,7 +71,7 @@ func (st *state) Login(tag names.Tag, password, nonce string, macaroons []macaro
err := rpcErr.UnmarshalInfo(&redirInfo)
if err == nil && redirInfo.CACert != "" && len(redirInfo.Servers) ... | Use params.Hostport to encode the payload of api Redirect errors | juju_juju | train |
f60350b2a20f0ba7c374f36e18df3922fae80cd5 | diff --git a/app/assets/javascripts/jquery/active_scaffold.js b/app/assets/javascripts/jquery/active_scaffold.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/jquery/active_scaffold.js
+++ b/app/assets/javascripts/jquery/active_scaffold.js
@@ -419,7 +419,7 @@ if (typeof(jQuery.fn.delayedObserver) === 'undefi... | allow 0 delay for delayedObserver | activescaffold_active_scaffold | train |
3c70c1b29cb5086ac4601b4eba39cc9822db7f2d | diff --git a/src/base/config/Config.php b/src/base/config/Config.php
index <HASH>..<HASH> 100644
--- a/src/base/config/Config.php
+++ b/src/base/config/Config.php
@@ -65,6 +65,7 @@ class Config
'admin.version', // Determines the version for the admin ui
'api.block.limit', // Determine the number of ro... | Improvements with i<I>n | psfs_core | train |
65fcccd6788dbe1dcb2c207e3f32c1bb0c377c4f | diff --git a/willow-deployer/src/main/java/com/nitorcreations/willow/deployer/Main.java b/willow-deployer/src/main/java/com/nitorcreations/willow/deployer/Main.java
index <HASH>..<HASH> 100644
--- a/willow-deployer/src/main/java/com/nitorcreations/willow/deployer/Main.java
+++ b/willow-deployer/src/main/java/com/nitorc... | Make output same for one and several children | NitorCreations_willow | train |
d15057cf454596fd277c837e4ba1cfcf640f511d | diff --git a/peewee.py b/peewee.py
index <HASH>..<HASH> 100644
--- a/peewee.py
+++ b/peewee.py
@@ -955,26 +955,27 @@ class Window(Node):
def __sql__(self, ctx):
if ctx.scope != SCOPE_SOURCE:
ctx.literal(self._alias)
- else:
- with ctx(parentheses=True):
- part... | Further refining WINDOW handling. | coleifer_peewee | train |
0afd5850f5bba4bd3f1218e27a4a1488c9fdb83e | diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -457,12 +457,13 @@ module ActiveRecord
# has_many :people, :exten... | Implement proxy_owner, proxy_target and proxy_reflection methods on CollectionProxy with deprecations. Fixes #<I>. | rails_rails | train |
9fa2621091b4a218d5df0d9d2282ff6662fb5b02 | diff --git a/spec/requests/flows/refresh_token_spec.rb b/spec/requests/flows/refresh_token_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/requests/flows/refresh_token_spec.rb
+++ b/spec/requests/flows/refresh_token_spec.rb
@@ -68,4 +68,21 @@ feature "Refresh Token Flow" do
should_have_json 'error', 'invalid_requ... | Add integration spec for multiple device sign-in #<I> | doorkeeper-gem_doorkeeper | train |
cdd7aa6a96296f774cf443f672943474e40a3d03 | diff --git a/spec/unit/blockscore/util_spec.rb b/spec/unit/blockscore/util_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/blockscore/util_spec.rb
+++ b/spec/unit/blockscore/util_spec.rb
@@ -97,7 +97,8 @@ module BlockScore
context 'translates errors' do
let(:error) do
- 'An error has occu... | Fix to shorten comparison string to meet rubocop max line length | BlockScore_blockscore-ruby | train |
78a09280c52d4cda32b964d5524403e86317fd15 | diff --git a/lib/coral/action/seed.rb b/lib/coral/action/seed.rb
index <HASH>..<HASH> 100644
--- a/lib/coral/action/seed.rb
+++ b/lib/coral/action/seed.rb
@@ -18,6 +18,10 @@ class Seed < Plugin::Action
# Action operations
def parse(parser)
+ parser.option_str(:home_env_var, "HOME",
+ '--home-env ENV_... | Some modifications to test in the seed action provider. | coralnexus_corl | train |
4badac2eaf5f6f148d8e686a625f8d377d891aa7 | diff --git a/docs/source/notebook_gen_sphinxext.py b/docs/source/notebook_gen_sphinxext.py
index <HASH>..<HASH> 100644
--- a/docs/source/notebook_gen_sphinxext.py
+++ b/docs/source/notebook_gen_sphinxext.py
@@ -78,7 +78,8 @@ def generate_rst(app):
for fname in glob.glob(os.path.join(app.srcdir, notebook_source_dir... | travis fix, add toctree | Unidata_MetPy | train |
b0ef6757460d410b13009084a6b12d9f04ad19f2 | diff --git a/lib/bson/object_id.rb b/lib/bson/object_id.rb
index <HASH>..<HASH> 100644
--- a/lib/bson/object_id.rb
+++ b/lib/bson/object_id.rb
@@ -118,7 +118,7 @@ module BSON
# Get a nice string for use with object inspection.
#
# @example Inspect the object id.
- # obhect_id.inspect
+ # object... | Fixes a typo in the docs. | mongodb_bson-ruby | train |
037f69e48fe5885fba440ed0259cc77e2b37678e | diff --git a/PFBC/View/SideBySide.php b/PFBC/View/SideBySide.php
index <HASH>..<HASH> 100644
--- a/PFBC/View/SideBySide.php
+++ b/PFBC/View/SideBySide.php
@@ -30,7 +30,7 @@ class SideBySide extends \PFBC\View {
echo '</div>';
}
else {
- echo '<div class="control-group">... | Update PFBC/View/SideBySide.php | lkorth_php-form-builder-class | train |
c0c5cd8a3722276bc0dc7d0d8068972a912e72e8 | diff --git a/nupic/__init__.py b/nupic/__init__.py
index <HASH>..<HASH> 100644
--- a/nupic/__init__.py
+++ b/nupic/__init__.py
@@ -1,6 +1,6 @@
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
-# Copyright (C) 2013, Numenta, Inc. Unless you ... | Makes nupic a namespace package that other projects can extend. | numenta_nupic | train |
103db06d9fdbf4973170b7a3bc3e1e2502bbb961 | diff --git a/integration/main_test.go b/integration/main_test.go
index <HASH>..<HASH> 100644
--- a/integration/main_test.go
+++ b/integration/main_test.go
@@ -650,14 +650,13 @@ var _ = Describe("Router Integration", func() {
tempCfg.NatsClientPingInterval = 100 * time.Millisecond
writeConfig(tempCfg, cfgFile)
... | Fix test
- We want to validate that the gorouter has NOT exited yet, we do that
by checking that the exit code is -1 (see Session documentation) | cloudfoundry_gorouter | train |
4b9593b315b88add4a1970352779356eb85d2457 | diff --git a/djoser/serializers.py b/djoser/serializers.py
index <HASH>..<HASH> 100644
--- a/djoser/serializers.py
+++ b/djoser/serializers.py
@@ -1,5 +1,7 @@
+from distutils import version
from django.contrib.auth import authenticate, get_user_model
from rest_framework import serializers
+import rest_framework
from... | Create separate user registration serializer for DRF 2 and 3. | sunscrapers_djoser | train |
22f705223acd6f4328d00a7a24d2d0ac2f0f2f50 | diff --git a/bin/worker.js b/bin/worker.js
index <HASH>..<HASH> 100644
--- a/bin/worker.js
+++ b/bin/worker.js
@@ -9,6 +9,8 @@ module.exports.run = function(worker) {
httpServer.on('request', app);
app.set('view engine', 'ejs');
+ app.set('views', path.resolve(__dirname, '..', 'views'));
+
app.get('/', fu... | Render views no mater what the cwd is | zalmoxisus_remotedev-server | train |
fcf96629446e149161f26ebee7c261e4eaf946e1 | diff --git a/src/adLDAP/Classes/adLDAPUsers.php b/src/adLDAP/Classes/adLDAPUsers.php
index <HASH>..<HASH> 100644
--- a/src/adLDAP/Classes/adLDAPUsers.php
+++ b/src/adLDAP/Classes/adLDAPUsers.php
@@ -439,6 +439,7 @@ class adLDAPUsers extends adLDAPBase
{
$user = new User($attributes);
+ $user->val... | Small tweak
- User class modify function now uses method validateSpecific so
validation is not done of the non-existent container attribute | Adldap2_Adldap2 | train |
27401282a5861b75983ffd226c46000adde97b6a | diff --git a/tests/run_tests.py b/tests/run_tests.py
index <HASH>..<HASH> 100755
--- a/tests/run_tests.py
+++ b/tests/run_tests.py
@@ -22,6 +22,7 @@ class FakeSphinx(Sphinx):
def __init__(self):
self.config = Config(None, None, {}, None)
self.verbosity = 0
+ self._setting_up_extension = ['... | Update FakeSphinx to pass test with latest sphinx | tk0miya_tk.phpautodoc | train |
5ea3813b1519068f6660b235a63dc6a63217ee4e | diff --git a/template/app/view/examples/InlinePreview.js b/template/app/view/examples/InlinePreview.js
index <HASH>..<HASH> 100644
--- a/template/app/view/examples/InlinePreview.js
+++ b/template/app/view/examples/InlinePreview.js
@@ -90,21 +90,21 @@ Ext.define('Docs.view.examples.InlinePreview', {
*/
update... | Fix inline examples in IE8.
Using Ext.Element#on to attach load event handler to iframe element.
Assigning handler directly to iframe.onload didn't work in IE8.
I'm sure it also fixes the same problem in IE7 (at least it does so in
IE7-mode of IE8), and the fix itself is just applying the right way of
doing things. | senchalabs_jsduck | train |
1774a8468e40ee58d23520541cf1de361f3741fc | diff --git a/lib/weak_parameters/validator.rb b/lib/weak_parameters/validator.rb
index <HASH>..<HASH> 100644
--- a/lib/weak_parameters/validator.rb
+++ b/lib/weak_parameters/validator.rb
@@ -17,6 +17,10 @@ module WeakParameters
private
+ def params
+ controller.params
+ end
+
def any(key, optio... | Validator should better respond to `params` for backward compat | r7kamura_weak_parameters | train |
01b086edb9060e49b892906ccf55df927280662f | diff --git a/lib/mu.js b/lib/mu.js
index <HASH>..<HASH> 100644
--- a/lib/mu.js
+++ b/lib/mu.js
@@ -184,7 +184,7 @@ function beginRender(tokens, view, partials) {
function beginRenderWithStream(tokens, view, partials, stream) {
var count = 0;
- process.nextTick(function () {
+ setImmediate(function () {
t... | Use setImmediate instead of deprecated call to process.nextTick. | raycmorgan_Mu | train |
4e4ac0b8e2153bef704528f3f2eb06665fbb88e8 | diff --git a/src/TestSuite/Fixture/PHPUnitExtension.php b/src/TestSuite/Fixture/PHPUnitExtension.php
index <HASH>..<HASH> 100644
--- a/src/TestSuite/Fixture/PHPUnitExtension.php
+++ b/src/TestSuite/Fixture/PHPUnitExtension.php
@@ -38,6 +38,7 @@ class PHPUnitExtension implements BeforeFirstTestHook
$enableLoggi... | Fix duplicate logging definition.
When using the default skeleton app and the `--debug` flag for PHPUnit
you would get a fatal error because `queries` already existed. Replacing
that logging configuration gets us the results we need. | cakephp_cakephp | train |
e214480eeb8653f4c3c894f694df16a7d9ac87eb | diff --git a/fastlane/lib/fastlane/version.rb b/fastlane/lib/fastlane/version.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/version.rb
+++ b/fastlane/lib/fastlane/version.rb
@@ -1,4 +1,4 @@
module Fastlane
- VERSION = '2.39.2'.freeze
+ VERSION = '2.40.0'.freeze
DESCRIPTION = "The easiest way to autom... | Version bump to <I> (#<I>) | fastlane_fastlane | train |
9699a0fe43dda9b7d0917f6cab0bc62489497d83 | diff --git a/src/com/google/javascript/jscomp/bundle/CoverageInstrumenter.java b/src/com/google/javascript/jscomp/bundle/CoverageInstrumenter.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/bundle/CoverageInstrumenter.java
+++ b/src/com/google/javascript/jscomp/bundle/CoverageInstrumenter.java
@... | Use ES-next when running for coverage instrumentation
-------------
Created by MOE: <URL> | google_closure-compiler | train |
efd95004e8cb42a61203994160e3fdf3313acdd2 | diff --git a/tests/test_main.py b/tests/test_main.py
index <HASH>..<HASH> 100755
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -2015,6 +2015,26 @@ def test_blizzard():
assert spellbendert.frozen
+def test_brawl():
+ game = prepare_game()
+ brawl = game.player1.give("EX1_407")
+ game.player1.give(GOLDSHIRE... | Add a test for Brawl | jleclanche_fireplace | train |
fe0ed731e4974af365b9790ef4b2e45964151bb9 | diff --git a/config/config.go b/config/config.go
index <HASH>..<HASH> 100644
--- a/config/config.go
+++ b/config/config.go
@@ -597,7 +597,7 @@ func hasRootPrivilege() bool {
}
// TableLockEnabled uses to check whether enabled the table lock feature.
-var TableLockEnabled = func() bool {
+func TableLockEnabled() boo... | ddl: a better way to fix data race against #<I> (#<I>) | pingcap_tidb | train |
062c55f99c64ad925dbccb285df862555570c1e5 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -18,9 +18,11 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
-# import sys
-# sys.path.insert(0, os.path.abspath('.'))
+import sys
+sys.path.insert(0, os.path... | Update readthedocs config (#<I>)
* Get Patroni version from patroni/version.py
* Update copyright to match with the LICENSE file
Fixes <URL> | zalando_patroni | train |
0c035fbe54443d4326963cc0faa1e112501c3e90 | diff --git a/daemon/daemon/daemon.go b/daemon/daemon/daemon.go
index <HASH>..<HASH> 100644
--- a/daemon/daemon/daemon.go
+++ b/daemon/daemon/daemon.go
@@ -79,6 +79,8 @@ type Daemon struct {
uiTopo types.UITopo
uiListeners map[*Conn]bool
registerUIListener chan *Conn
+ ignor... | docker_watcher: Ignore containers not managed by cilium | cilium_cilium | train |
80c223474c98fd59a07776994e672e934866c7d5 | diff --git a/src/_pytest/pytester.py b/src/_pytest/pytester.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/pytester.py
+++ b/src/_pytest/pytester.py
@@ -20,6 +20,7 @@ from typing import Any
from typing import Callable
from typing import Dict
from typing import Generator
+from typing import IO
from typing import I... | Type annotation polishing for symbols around Pytester.run (#<I>)
* Type annotation polishing for symbols around Pytester.run
Hopefully these will help document readers understand pertinent methods
and constants better.
Following up #<I>
* Use NOTSET instead of object | pytest-dev_pytest | train |
e9c23eb1b9dc98f749ba36e02c5fcf8ea42750e2 | diff --git a/lib/itamae/resource/remote_file.rb b/lib/itamae/resource/remote_file.rb
index <HASH>..<HASH> 100644
--- a/lib/itamae/resource/remote_file.rb
+++ b/lib/itamae/resource/remote_file.rb
@@ -24,12 +24,14 @@ module Itamae
searched_paths = []
dirs.size.times do |i|
- path = ::Fi... | Accept template without .erb extention. | itamae-kitchen_itamae | train |
01fee67b8875a56e9dbe806dcfb03fb72d3b3ab9 | diff --git a/lib/svtplay_dl/service/vg.py b/lib/svtplay_dl/service/vg.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/vg.py
+++ b/lib/svtplay_dl/service/vg.py
@@ -56,4 +56,4 @@ class Vg(Service, OpenGraphThumbMixin):
for n in list(streams.keys()):
yield HLS(copy.copy(options), ... | vg, vimeo: missing newline at the end of file | spaam_svtplay-dl | train |
d55e2a106c3ec0dbc95bc05c478ebbd1887c5f62 | diff --git a/spyder/api/plugins.py b/spyder/api/plugins.py
index <HASH>..<HASH> 100644
--- a/spyder/api/plugins.py
+++ b/spyder/api/plugins.py
@@ -228,7 +228,6 @@ class PluginWidget(QWidget, BasePluginMixin):
add_actions(self.options_menu, self.plugin_actions)
# Show icons in Mac plugin menus
- ... | Implemented hide_menus with loop over menus | spyder-ide_spyder | train |
e9175009eede4e42b75c99c3358f03a1c14dd5bf | diff --git a/js/browser-ui.js b/js/browser-ui.js
index <HASH>..<HASH> 100644
--- a/js/browser-ui.js
+++ b/js/browser-ui.js
@@ -249,6 +249,19 @@ Browser.prototype.initUI = function(holder, genomePanel) {
holder.addEventListener('blur', function(ev) {
holder.removeEventListener('keydown', uiKeyHandler, fals... | ESC closes tool-panel. | dasmoth_dalliance | train |
d27782c96cdad1d96ba6aad8a13e1c6a55879343 | diff --git a/client/blocks/keyring-connect-button/index.js b/client/blocks/keyring-connect-button/index.js
index <HASH>..<HASH> 100644
--- a/client/blocks/keyring-connect-button/index.js
+++ b/client/blocks/keyring-connect-button/index.js
@@ -6,7 +6,7 @@
import React, { Component, Fragment } from 'react';
import { co... | Consider user connected when keyring connections are loaded | Automattic_wp-calypso | train |
d8566aecc4d04ff46d24dacc80a21099ec02f400 | diff --git a/framework/db/Connection.php b/framework/db/Connection.php
index <HASH>..<HASH> 100644
--- a/framework/db/Connection.php
+++ b/framework/db/Connection.php
@@ -951,10 +951,19 @@ class Connection extends Component
*/
public function useMaster(callable $callback)
{
- $enableSlave = $this... | Exception within useMaster() completely disables slaves | yiisoft_yii2 | train |
bd6a2a0f8a6d79d839185c10b7f0732831765ff7 | diff --git a/test/extended/util/annotate/rules.go b/test/extended/util/annotate/rules.go
index <HASH>..<HASH> 100644
--- a/test/extended/util/annotate/rules.go
+++ b/test/extended/util/annotate/rules.go
@@ -224,11 +224,6 @@ var (
`\[sig-auth\] \[Feature:NodeAuthenticator\] The kubelet's main port 10250 should rejec... | Removed the "Managed cluster should ensure control plane pods do not run in best-effort QoS" test from IBM's skipped list | openshift_origin | train |
d63e531c087f1afef96bc9234061bd3e82434dbc | diff --git a/sacred/dependencies.py b/sacred/dependencies.py
index <HASH>..<HASH> 100644
--- a/sacred/dependencies.py
+++ b/sacred/dependencies.py
@@ -6,13 +6,13 @@ import hashlib
import os.path
import re
import sys
-import pathlib
+from pathlib import Path
import pkg_resources
import sacred.optional as opt
f... | Using pathlib to simplify is_local_source. (#<I>)
Using pathlib to simplify is_local_source. | IDSIA_sacred | train |
82efd58eabb0b375f44d4e4e4cecb226025001d9 | diff --git a/tests/test_qiniu.py b/tests/test_qiniu.py
index <HASH>..<HASH> 100644
--- a/tests/test_qiniu.py
+++ b/tests/test_qiniu.py
@@ -1,6 +1,5 @@
import os
-import random
-import string
+import uuid
import qiniu.conf
import qiniu.io
@@ -19,10 +18,12 @@ qiniu.conf.SECRET_KEY = QINIU_SECRET_KEY
QINIU_PUT_POLIC... | Test qiniu file upload | glasslion_django-qiniu-storage | train |
4e6c8d8ff1df45cce6a99f49172f7b926b0a2ead | diff --git a/lib/appsignal/agent.rb b/lib/appsignal/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/agent.rb
+++ b/lib/appsignal/agent.rb
@@ -29,13 +29,13 @@ module Appsignal
def send_queue
Appsignal.logger.debug "Sending queue"
+ current_aggregator = aggregator
+ @aggregator = Aggregat... | Log backtrace for errors when sending queue | appsignal_appsignal-ruby | train |
48a547a68c1a882dbc90f3d2b5c593379c2e53a6 | diff --git a/src/picoes.js b/src/picoes.js
index <HASH>..<HASH> 100644
--- a/src/picoes.js
+++ b/src/picoes.js
@@ -1,9 +1,24 @@
+function isFunction(obj) {
+ return typeof obj === 'function'
+}
+
+function isObject(obj) {
+ return typeof obj === 'object'
+}
+
class Entity {
constructor(world) {
this.world = world... | Updated system registration
Added system init
Started on prototypes
Added entity get() method | ayebear_picoes | train |
ba2a3e88a76361aa65dc460393936f9cf072239e | diff --git a/lib/less/adapters/server.js b/lib/less/adapters/server.js
index <HASH>..<HASH> 100644
--- a/lib/less/adapters/server.js
+++ b/lib/less/adapters/server.js
@@ -1,16 +1,4 @@
-var sys = require('sys'),
- events = require('events'),
- fs = require('fs'),
- path = require('path'),
- inspect = require... | removed all the testing stuff from the server adapter | mapbox_carto | train |
8c0306d1c28e50f2ddd256194e9f9a70ad836270 | diff --git a/bin/firefox-driver.js b/bin/firefox-driver.js
index <HASH>..<HASH> 100755
--- a/bin/firefox-driver.js
+++ b/bin/firefox-driver.js
@@ -15,31 +15,32 @@ const shouldStart = args.start;
const isTests = args.tests;
const useWebSocket = args.websocket;
-function firefoxBinary() {
- let binary = new firefox.... | Set debugger server when launching Firefox (#<I>)
This commit modifies the Firefox launch script to make sure the
driver gets configured and the debugging server gets initialized.
closes #<I> | firefox-devtools_debugger | train |
4a22ea0796058db41f705d91d4bcef7af920ac26 | diff --git a/h5netcdf/core.py b/h5netcdf/core.py
index <HASH>..<HASH> 100644
--- a/h5netcdf/core.py
+++ b/h5netcdf/core.py
@@ -572,7 +572,7 @@ class File(Group):
with h5pyd.File(path, 'r') as f: # noqa
pass
self._preexisting_file = True
- ... | Use IOError as h5pyd exception for non-existing files | shoyer_h5netcdf | train |
5cfd86d208b7b65c04a25518c16b6945853a33eb | diff --git a/source/rafcon/gui/controllers/menu_bar.py b/source/rafcon/gui/controllers/menu_bar.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/controllers/menu_bar.py
+++ b/source/rafcon/gui/controllers/menu_bar.py
@@ -82,9 +82,6 @@ class MenuBarController(ExtendedController):
self.main_window_view.rig... | recent state machines: move sub menu generation into menu bar view | DLR-RM_RAFCON | train |
fc34c7d7a489a37a83de2e2af6ffcc41351110fa | diff --git a/lib/client.js b/lib/client.js
index <HASH>..<HASH> 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -4,8 +4,6 @@
*/
var parser = require('socket.io-parser');
-var encode = parser.encode;
-var decode = parser.decode;
var debug = require('debug')('socket.io:client');
/**
@@ -25,13 +23,14 @@ module.... | Updated protocol-facing code to reflect newest parser
Socket.io-parser now has a class-based Encoder and Decoder scheme,
so client.js was changed appropriately.
The main difference is that most of the logic for interpreting packets
is now isolated to parser, and client receives a 'decoded' event when
parser has a rec... | socketio_socket.io | train |
abf6614ffc58f09ba2c8241481b937fa74eaf4f7 | diff --git a/spec/cli/cli_spec.rb b/spec/cli/cli_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cli/cli_spec.rb
+++ b/spec/cli/cli_spec.rb
@@ -1,10 +1,31 @@
RSpec.describe Sixword::CLI do
+ @@test_warnings = Set.new
+ def warn_once(label, message)
+ unless @@test_warnings.include?(label)
+ warn message
+ ... | Hack around jruby <I> test failures. | ab_sixword | train |
b9143953b467b50c362bf6603a316ff64a591a5d | diff --git a/aikif/toolbox/network_tools.py b/aikif/toolbox/network_tools.py
index <HASH>..<HASH> 100644
--- a/aikif/toolbox/network_tools.py
+++ b/aikif/toolbox/network_tools.py
@@ -32,3 +32,18 @@ def download_file_no_logon(url, filename):
output.write(request.urlopen(url).read())
output.close()
+def downl... | added download with logon - untested | acutesoftware_AIKIF | train |
9cc2a43e858428f4128b3433e2437a69fcbef34f | diff --git a/socketio/mixins.py b/socketio/mixins.py
index <HASH>..<HASH> 100644
--- a/socketio/mixins.py
+++ b/socketio/mixins.py
@@ -23,7 +23,7 @@ class RoomsMixin(object):
def _get_room_name(self, room):
return self.ns_name + '_' + room
- def emit_to_room(self, event, args, room):
+ def emit_to... | Changed the signatore of the "emit_to_room" function. | abourget_gevent-socketio | train |
5c1cdec9a5a711ae3e4b051f6dc82c05ef1445cf | diff --git a/lib/commander.js b/lib/commander.js
index <HASH>..<HASH> 100644
--- a/lib/commander.js
+++ b/lib/commander.js
@@ -1,4 +1,3 @@
-
/*!
* commander
* Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca>
@@ -763,7 +762,7 @@ Command.prototype.password = function(str, mask, fn){
// keypress
process.... | Fixed issue with passwords beginning with numbers. | calvinmetcalf_ltcdr | train |
964aaa5571b7a4078e268e6bd7d2fe5c4772c9ff | diff --git a/test/test-resources.js b/test/test-resources.js
index <HASH>..<HASH> 100644
--- a/test/test-resources.js
+++ b/test/test-resources.js
@@ -10,6 +10,7 @@
var actors = require('../index');
var expect = require('chai').expect;
var P = require('bluebird');
+var _ = require('underscore');
var system;
@@ ... | (saymon) Added failing test for plain-object resources. | untu_comedy | train |
4a51dd3387af0be03f805a04d8594777ff4541ba | diff --git a/test/unit/update.js b/test/unit/update.js
index <HASH>..<HASH> 100644
--- a/test/unit/update.js
+++ b/test/unit/update.js
@@ -33,7 +33,8 @@ exports['controller.update'] = {
return Promise.resolve('9a85c84f5a03c715908921baaaa9e7397985bc7f');
});
- this.requestBuildList = this.sandbox.stub(u... | test(update): check version and sha specifically, instead of whole string | tessel_t2-cli | train |
dcc45a73b52f03c2bbe1d0a0945ab86b858426d8 | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index <HASH>..<HASH> 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1352,6 +1352,8 @@ class DataFrame(NDFrame):
chunksize = 100000
chunks = int(rows / chunksize)+1
+ cols = list(cols)
+
for i in xrange(chu... | CLN: move repeated cast out of loop | pandas-dev_pandas | train |
e6be78691947a3eaa962223216598dceca600348 | diff --git a/xchange-binance/src/main/java/org/knowm/xchange/binance/service/BinanceTradeService.java b/xchange-binance/src/main/java/org/knowm/xchange/binance/service/BinanceTradeService.java
index <HASH>..<HASH> 100644
--- a/xchange-binance/src/main/java/org/knowm/xchange/binance/service/BinanceTradeService.java
+++ ... | [Binance] implemented @Override placeStopOrder | knowm_XChange | train |
728bcce58e5c1e64b6647e0993a9c8d36f8754aa | diff --git a/pandana/tests/test_pandana.py b/pandana/tests/test_pandana.py
index <HASH>..<HASH> 100644
--- a/pandana/tests/test_pandana.py
+++ b/pandana/tests/test_pandana.py
@@ -23,11 +23,6 @@ def sample_osm(request):
net = pdna.Network(nodes.x, nodes.y, edges["from"], edges.to,
edges[["we... | Don't test crash on second Network build
Now that we have multiple networks during some tests,
this causes tests to fail unpredictably. | UDST_pandana | train |
07d4f99e3f33788ed603b63abfc4417a572597bd | diff --git a/pom.xml b/pom.xml
index <HASH>..<HASH> 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.mysema.codegen</groupId>
<artifactId>codegen</artifactId>
- <version>0.4.6</version>
+ <version>0.4.7</version>
<name>Codegen</name>
<description>... | fixed scala handling of primitive types | querydsl_querydsl | train |
5847189f85d1b63afa8c1d8803779348eaa7dc68 | diff --git a/sos/plugins/foreman.py b/sos/plugins/foreman.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/foreman.py
+++ b/sos/plugins/foreman.py
@@ -12,6 +12,8 @@
from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin,\
SCLPlugin
from pipes import quote
+from re import mat... | [foreman] support external postgres DB
When external postgres DB is configured, we should query mongo
commands against that DB instead of localhost.
Resolves: #<I> | sosreport_sos | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.