hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
f4eeb4a52c41b04effe8fb163cc93c5e1f5fe894
diff --git a/unbabel/__init__.py b/unbabel/__init__.py index <HASH>..<HASH> 100644 --- a/unbabel/__init__.py +++ b/unbabel/__init__.py @@ -0,0 +1,34 @@ + + +LOGGING = { + 'version': 1, + 'disable_existing_loggers': False, + 'formatters': { + 'verbose': { + 'format': ('%(asctime)s [%(process)d...
working on python sdk
Unbabel_unbabel-py
train
fb0e34b997cd17481b49acdb97005c26d1351de5
diff --git a/websocket.py b/websocket.py index <HASH>..<HASH> 100644 --- a/websocket.py +++ b/websocket.py @@ -861,7 +861,7 @@ class WebSocketApp(object): if data is None: break self._callback(self.on_message, data) - except Exception, e: + except Exc...
Exception handling should be compatible with python <I> and 3.x.
websocket-client_websocket-client
train
cf4ba64ed99bcc449bf359e028eb706e10afc050
diff --git a/src/main/java/org/quartz/classloading/CascadingClassLoadHelper.java b/src/main/java/org/quartz/classloading/CascadingClassLoadHelper.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/quartz/classloading/CascadingClassLoadHelper.java +++ b/src/main/java/org/quartz/classloading/CascadingClassLoadHelpe...
added unit test for when there is only one packaged specified
knowm_Sundial
train
e4c5058ad6dc2fa01ce75153a8e7257573a6e0bf
diff --git a/Kwc/Basic/LinkTag/Intern/PagesController.php b/Kwc/Basic/LinkTag/Intern/PagesController.php index <HASH>..<HASH> 100644 --- a/Kwc/Basic/LinkTag/Intern/PagesController.php +++ b/Kwc/Basic/LinkTag/Intern/PagesController.php @@ -5,4 +5,12 @@ class Kwc_Basic_LinkTag_Intern_PagesController extends Kwf_Controlle...
Don't set allowDrag/allowDrag as it comes from generator
koala-framework_koala-framework
train
850ed747a2d739ec3412e9c4d239c24150afffaf
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -80,7 +80,8 @@ function dotThemingFileToPath(s) { var Builder = function(options) { this.themeCacheMapping = {}; - this.fileUtils = fileUtilsFactory(options ? options.fs : null); + this.customFs = options ...
Use custom file handler when custom "fs" is used Otherwise less would still use the native "fs" module.
SAP_less-openui5
train
d25c996f6ec2cf54a8b4eedc0a9c3311d11fd9d5
diff --git a/packages/net/csp/client.js b/packages/net/csp/client.js index <HASH>..<HASH> 100644 --- a/packages/net/csp/client.js +++ b/packages/net/csp/client.js @@ -335,6 +335,9 @@ exports.CometSession = Class(function(supr) { // TODO: possibly catch this error in production? but not in dev this._doOnRead(dat...
fix a bug where after a comet call the ready state might go to DISCONNECTING or DISCONNECTED (callback closes the connection), but we still try to make the next comet call with a null sessionKey
gameclosure_js.io
train
34a37b79a050f25ad7e3e775b8bba0d4eef430ae
diff --git a/src/CameraScreen/CameraKitCameraScreenBase.js b/src/CameraScreen/CameraKitCameraScreenBase.js index <HASH>..<HASH> 100644 --- a/src/CameraScreen/CameraKitCameraScreenBase.js +++ b/src/CameraScreen/CameraKitCameraScreenBase.js @@ -138,6 +138,7 @@ export default class CameraScreenBase extends Component { ...
add props with callback from native
wix_react-native-camera-kit
train
44a16bcc68700843e39066daa586a4725064d4d7
diff --git a/kytos_utils/cli/cmdline.py b/kytos_utils/cli/cmdline.py index <HASH>..<HASH> 100644 --- a/kytos_utils/cli/cmdline.py +++ b/kytos_utils/cli/cmdline.py @@ -80,6 +80,10 @@ class KytosCmdLine(): napps_list.add_argument('-a', '--author', help="List napps by Author Nam...
Add enable/disable help in previous parser Finish the enable/disable commands and close #<I>
kytos_kytos-utils
train
4e7eb2c9417be16f9e1e7c907590cf13f736725f
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -73,11 +73,11 @@ module.exports = { data = {}; } - this.build(model, data, function(err, obj){ + this.build(model, data, function(err, builtObj){ if (err) throw(err); - obj.save(functio...
Return saved object from Factory.create method
agoragames_factory-worker
train
b8004b85aca787da7f229e6088dc2516fdc2739f
diff --git a/pandas/core/computation/eval.py b/pandas/core/computation/eval.py index <HASH>..<HASH> 100644 --- a/pandas/core/computation/eval.py +++ b/pandas/core/computation/eval.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 """ Top level ``eval`` module. """ diff --git a/pandas/tests/io/generate_legacy_storage_files....
CLN: Remove shebang (#<I>)
pandas-dev_pandas
train
23a58ca4c8f846412bd009889305beda514a6dc7
diff --git a/Component/Drivers/PostgreSQL.php b/Component/Drivers/PostgreSQL.php index <HASH>..<HASH> 100644 --- a/Component/Drivers/PostgreSQL.php +++ b/Component/Drivers/PostgreSQL.php @@ -322,7 +322,7 @@ class PostgreSQL extends DoctrineBaseDriver implements Manageble, Routable, Geog { $connection =...
Fix PostGIS/PostgreSQL driver geometry transformation
mapbender_data-source
train
c073596b68d3bbc0800043343bd24d27f51a3793
diff --git a/code/UserDefinedForm.php b/code/UserDefinedForm.php index <HASH>..<HASH> 100755 --- a/code/UserDefinedForm.php +++ b/code/UserDefinedForm.php @@ -277,7 +277,6 @@ class UserDefinedForm_Controller extends Page_Controller { $CustomDisplayRules = ""; $defaults = ""; $this->SubmitButtonText = ($this->S...
BUGFIX: fixed issue with disabling saving submissions and emailing #<I>. BUGFIX: fixed saving member object error when logged in using a form
silverstripe_silverstripe-userforms
train
28285ef3ed53de6b902ca004090951b736e3f719
diff --git a/police_api/__init__.py b/police_api/__init__.py index <HASH>..<HASH> 100644 --- a/police_api/__init__.py +++ b/police_api/__init__.py @@ -50,24 +50,25 @@ class PoliceAPI(object): return [d['date'] for d in response] def get_latest_date(self): - return self.service.request('GET', 'cri...
Allow filtering crimes based on category, and fix categories cache bug
rkhleics_police-api-client-python
train
7927fb009e72672d76972228e68d72c7bdf2cd7e
diff --git a/h2o-automl/src/test/java/ai/h2o/automl/AutoMLTest.java b/h2o-automl/src/test/java/ai/h2o/automl/AutoMLTest.java index <HASH>..<HASH> 100644 --- a/h2o-automl/src/test/java/ai/h2o/automl/AutoMLTest.java +++ b/h2o-automl/src/test/java/ai/h2o/automl/AutoMLTest.java @@ -119,7 +119,7 @@ public class AutoMLTest e...
Fix AutoML test. (#<I>)
h2oai_h2o-3
train
2215e17ec8c9dda8680066b1774b2fd079b2235d
diff --git a/mybin.py b/mybin.py index <HASH>..<HASH> 100755 --- a/mybin.py +++ b/mybin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 from pyp2rpm.bin import main main() diff --git a/pyp2rpm/filters.py b/pyp2rpm/filters.py index <HASH>..<HASH> 100644 --- a/pyp2rpm/filters.py +++ b/pyp2rpm/filters.py...
Improve filters to fill correct version in macros fixes #<I>
fedora-python_pyp2rpm
train
8b201d7e23895f941240fa2eff921ab7f48fd8de
diff --git a/hwt/hdl/assignment.py b/hwt/hdl/assignment.py index <HASH>..<HASH> 100644 --- a/hwt/hdl/assignment.py +++ b/hwt/hdl/assignment.py @@ -47,7 +47,7 @@ class Assignment(HdlStatement): self.dst = dst if not isinstance(dst, Value): self._outputs.append(dst) - self._enclo...
append/add mismatch for enclosure
Nic30_hwt
train
54e3809cda26d806270bfd3b3764ffb09e999ac5
diff --git a/lib/deployml/configuration.rb b/lib/deployml/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/deployml/configuration.rb +++ b/lib/deployml/configuration.rb @@ -95,7 +95,7 @@ module DeploYML @bundler = config.fetch(:bundler,false) @framework = case config[:framework] - ...
Restrict the matching of 'rails' for the framework setting.
postmodern_deployml
train
d07de54801db2b66f632bc994c33be779bb20f62
diff --git a/Generator/API.php b/Generator/API.php index <HASH>..<HASH> 100644 --- a/Generator/API.php +++ b/Generator/API.php @@ -14,7 +14,7 @@ namespace ModuleBuider\Generator; * looks for calls to module_invoke_all() and generates scaffold hook * documentation for hook names that have the module's name as a pref...
Changed php file component generators to inherit from PHPFile.
drupal-code-builder_drupal-code-builder
train
b676c54dc3bb668637aef732b620f079c5745f81
diff --git a/go/vt/client/client.go b/go/vt/client/client.go index <HASH>..<HASH> 100644 --- a/go/vt/client/client.go +++ b/go/vt/client/client.go @@ -171,7 +171,7 @@ func makeBindVars(args []driver.Value) map[string]interface{} { } bv := make(map[string]interface{}, len(args)) for i, v := range args { - bv[fmt....
go client: fix bind var numbering
vitessio_vitess
train
8be1ecf51f560f6d53f6c9f0859c92d8390a788b
diff --git a/providers/link.js b/providers/link.js index <HASH>..<HASH> 100644 --- a/providers/link.js +++ b/providers/link.js @@ -15,24 +15,7 @@ fdom.link = fdom.link || {}; * @constructor */ fdom.link.Node = function() { - this.id = 'Link.Node ' + Math.random(); - this.config = {}; - this.src = null; - - fdo...
update for consistency w/ freedom link refactor
freedomjs_freedom-for-node
train
83f9e5913c4d60116c172c7ca79840057ba28521
diff --git a/tests/core/test_inventory.py b/tests/core/test_inventory.py index <HASH>..<HASH> 100644 --- a/tests/core/test_inventory.py +++ b/tests/core/test_inventory.py @@ -247,12 +247,22 @@ class Test(object): hosts = {"h1": h1, "h2": h2} groups = {"g1": g1, "g2": g2} inv = inventory.Inven...
Add connection_options to add_hosts and add_group
nornir-automation_nornir
train
9fa237ddb6e2b1a19296a701e1fd5e63b15af0fc
diff --git a/agent/dns.go b/agent/dns.go index <HASH>..<HASH> 100644 --- a/agent/dns.go +++ b/agent/dns.go @@ -278,22 +278,23 @@ func (d *DNSServer) nameservers(edns bool) (ns []dns.RR, extra []dns.RR) { d.logger.Println("[WARN] Unable to parse address %v, got error: %v", addr, err) continue } + ip := net...
dns: minor cleanups
hashicorp_consul
train
e28ba0d9299ddf45b8673c104fd0833313686174
diff --git a/enoslib/infra/enos_vagrant/Vagrantfile.j2 b/enoslib/infra/enos_vagrant/Vagrantfile.j2 index <HASH>..<HASH> 100644 --- a/enoslib/infra/enos_vagrant/Vagrantfile.j2 +++ b/enoslib/infra/enos_vagrant/Vagrantfile.j2 @@ -1,8 +1,3 @@ -# THIS FILE HAS BEEN GENERATED BY THE VBOX PROVIDER -# -# -*- mode: ruby -*- -# ...
Fix #<I> - Support customized vagrant settings
BeyondTheClouds_enoslib
train
cada317deec07aad030865cefc99199c0fc71072
diff --git a/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php b/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php +++ b/src/Symfony/Bundle/DoctrineBundle/Dep...
Allow to override platform with your own by defining a service name.
symfony_symfony
train
f076652f1881b453ccf55f16dd71b1514263bb6d
diff --git a/Odoo.php b/Odoo.php index <HASH>..<HASH> 100644 --- a/Odoo.php +++ b/Odoo.php @@ -65,6 +65,13 @@ class Odoo protected $client; /** + * XmlRpc endpoint + * + * @var string + */ + protected $path; + + /** * Odoo constructor * * @param string $host The url
First call to getClient('someendpoint') threw a notice, fixed it
jacobsteringa_OdooClient
train
68127e3d9ef8f6d0d85b823ec62656d74efb221d
diff --git a/nece/models.py b/nece/models.py index <HASH>..<HASH> 100644 --- a/nece/models.py +++ b/nece/models.py @@ -77,13 +77,25 @@ class TranslationModel(models.Model, TranslationMixin): return self def language_or_none(self, language_code): + language_code = self.get_language_key(language_co...
language_as_dict with only containing translated fields
tatterdemalion_django-nece
train
3160353f9f57ac37019f8738ba029d3e11c83c07
diff --git a/pgmpy/factors/continuous/ContinuousFactor.py b/pgmpy/factors/continuous/ContinuousFactor.py index <HASH>..<HASH> 100644 --- a/pgmpy/factors/continuous/ContinuousFactor.py +++ b/pgmpy/factors/continuous/ContinuousFactor.py @@ -300,7 +300,7 @@ class ContinuousFactor(BaseFactor): """ phi =...
Solves a bug in the normalize() function of ContinuousFactor (#<I>). * Fixes a typo. * Uses inplace=True because is always safe.
pgmpy_pgmpy
train
6954a071915dc2a4d214ade0a6041eae8bbceb22
diff --git a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php +++ b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBui...
[Doctrine][Form] support large integers
symfony_symfony
train
b8ecc1eed3407b634800aeb7dc8f7feb90e7a3fc
diff --git a/packages/cx-google-maps/src/OverlayView.js b/packages/cx-google-maps/src/OverlayView.js index <HASH>..<HASH> 100644 --- a/packages/cx-google-maps/src/OverlayView.js +++ b/packages/cx-google-maps/src/OverlayView.js @@ -1,8 +1,4 @@ import { VDOM, PureContainer } from 'cx/ui'; -import { attachEventCallbacks ...
Remove extraneous imports from OverlayView
codaxy_cx-google-maps
train
220b60f3b2e7aaa8010aa47794ea81a9606c1670
diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -4,7 +4,7 @@ Yii Framework 2 Change Log 2.0.0 under development ----------------------- -- no changes in this release. +- Enh #4275: Added `removeChildren()` to `yii\...
Fixes #<I>: Added `removeChildren()` to `yii\rbac\ManagerInterface` and implementations
yiisoft_yii2
train
544e0ac2c705bf82cfc379730e9923a55bab009e
diff --git a/src/umbra/components/factory/scriptEditor/scriptEditor.py b/src/umbra/components/factory/scriptEditor/scriptEditor.py index <HASH>..<HASH> 100644 --- a/src/umbra/components/factory/scriptEditor/scriptEditor.py +++ b/src/umbra/components/factory/scriptEditor/scriptEditor.py @@ -1460,6 +1460,11 @@ class Scri...
Prevent crash related to voodoo magic focus convolutions in "scriptEditor" component.
KelSolaar_Umbra
train
92daa9cd22fa96c4006d5b9b0071810db7f683d9
diff --git a/src/Downloader.php b/src/Downloader.php index <HASH>..<HASH> 100644 --- a/src/Downloader.php +++ b/src/Downloader.php @@ -65,6 +65,9 @@ class Downloader } } elseif (\is_array($endpoint) || false !== strpos($endpoint, '.json') || 'flex://defaults' === $endpoint) { $this->e...
Use default endopoints as fallbacks if Composer endpoint is specified as a string
symfony_flex
train
a340a2614fb6c6343785dac36830bb611e1fde42
diff --git a/package.json b/package.json index <HASH>..<HASH> 100644 --- a/package.json +++ b/package.json @@ -78,10 +78,12 @@ }, "jest": { "collectCoverageFrom": [ + "packages/*/src/**/*.mjs", "packages/*/src/**/*.js", + "codemods/*/src/**/*.mjs", "codemods/*/src/**/*.js" ], - ...
Fix reseting modules in jest and config (#<I>) * Fix reseting modules in jest and config we have lib folders inside the source folders which should not be ignored. * Add codemods lib folder * Support mjs * improve ignore pattern
babel_babel
train
ad8d196cf9a5c021264226ca93ad581e00d1d051
diff --git a/src/gitgraph.js b/src/gitgraph.js index <HASH>..<HASH> 100644 --- a/src/gitgraph.js +++ b/src/gitgraph.js @@ -30,6 +30,34 @@ } /** + * Returns the scaling factor of given canvas `context`. + * Handles high-resolution displays. + * + * @param {Object} context + * @returns {Number} + * @p...
Extract scaling ratio calculation into _getScale() So we can re-use it
nicoespeon_gitgraph.js
train
a76abb7b68bc4309c5cdacfbb621145e0db5d501
diff --git a/src/config/roles.php b/src/config/roles.php index <HASH>..<HASH> 100644 --- a/src/config/roles.php +++ b/src/config/roles.php @@ -20,11 +20,12 @@ return [ | Database Table Prefix |-------------------------------------------------------------------------- | - | If your tables have a prefix...
make prefix selection automatic make prefix selection automatic - based on what the users Laravel settings are. No need to define it twice (once in `config\database.php` and once here).
romanbican_roles
train
cc4fa0543fd59232770a0479312922cc28e7c6fb
diff --git a/jsr330activator.tests/src/test/java/no/steria/osgi/jsr330activator/tests/Jsr330ActivatorMultipleInstancesOfOneServiceIntegrationTest.java b/jsr330activator.tests/src/test/java/no/steria/osgi/jsr330activator/tests/Jsr330ActivatorMultipleInstancesOfOneServiceIntegrationTest.java index <HASH>..<HASH> 100644 -...
Made a real integration test for the NamedServiceInjectionCatcher service. Accesses and uses a service.
sbang_jsr330activator
train
113339b029999d29be0d6a2e442391956f60cc31
diff --git a/src/_pytest/_io/terminalwriter.py b/src/_pytest/_io/terminalwriter.py index <HASH>..<HASH> 100644 --- a/src/_pytest/_io/terminalwriter.py +++ b/src/_pytest/_io/terminalwriter.py @@ -149,7 +149,18 @@ class TerminalWriter: msg = self.markup(msg, **markup) - self._file.write(msg) +...
terminalwriter: bring back handling of printing characters not supported by stdout
pytest-dev_pytest
train
106fdcf49e5b4053f3afd6a01d8cc3ace5bd4818
diff --git a/classes/taxonomy.class.php b/classes/taxonomy.class.php index <HASH>..<HASH> 100644 --- a/classes/taxonomy.class.php +++ b/classes/taxonomy.class.php @@ -68,7 +68,7 @@ class Cuztom_Taxonomy add_action( 'init', array( &$this, 'register_taxonomy_for_object_type' ) ); } - if( isset( $args['show_c...
Taxonomy admin column only for older versions
gizburdt_cuztom
train
fe4e202f3df00f78860a514d7fc54f1d11af789d
diff --git a/test/www/jxcore/bv_tests/testCreatePeerListener.js b/test/www/jxcore/bv_tests/testCreatePeerListener.js index <HASH>..<HASH> 100644 --- a/test/www/jxcore/bv_tests/testCreatePeerListener.js +++ b/test/www/jxcore/bv_tests/testCreatePeerListener.js @@ -503,6 +503,7 @@ test('createPeerListener - pleaseConnect ...
Missing t.end() I'm trying to fix the test failure we are seeing in this test but I can't reproduce it locally, not even with the 1% CPU trick, so I'm going blind here. Next I'll have to try to Remote Terminal Server into Appveyor.
thaliproject_Thali_CordovaPlugin
train
cf5697ff32292d656465aebaf704323806bfde83
diff --git a/builtin/providers/aws/resource_aws_vpc.go b/builtin/providers/aws/resource_aws_vpc.go index <HASH>..<HASH> 100644 --- a/builtin/providers/aws/resource_aws_vpc.go +++ b/builtin/providers/aws/resource_aws_vpc.go @@ -57,7 +57,6 @@ func resourceAwsVpc() *schema.Resource { Computed: true, }, - "t...
providers/aws: if a VPC doesn't exist, then remove from state
hashicorp_terraform
train
ee30c4fd6ce8924ac305f988602f5f0a32435340
diff --git a/autograd/util.py b/autograd/util.py index <HASH>..<HASH> 100644 --- a/autograd/util.py +++ b/autograd/util.py @@ -130,57 +130,43 @@ def base_class(t): return t def flatten(value): - """value can be any nesting of tuples, arrays, dicts. - returns 1D numpy array and an unflatten function...
polish flatten, make it faster, use less memory
HIPS_autograd
train
0d63d3c5b06b71d6495033b3bc1a1239ac7c8835
diff --git a/lib/licensed/sources/bundler.rb b/lib/licensed/sources/bundler.rb index <HASH>..<HASH> 100644 --- a/lib/licensed/sources/bundler.rb +++ b/lib/licensed/sources/bundler.rb @@ -29,7 +29,7 @@ module Licensed # `loaded_from` if available. def spec_file return @spec_file if defined?(...
enforce that the spec file is an actual file
github_licensed
train
0d9e85efa2dc0b7daa959137f1d4f6657a5a0832
diff --git a/isvcs/isvc.go b/isvcs/isvc.go index <HASH>..<HASH> 100644 --- a/isvcs/isvc.go +++ b/isvcs/isvc.go @@ -30,7 +30,7 @@ var Mgr *Manager const ( IMAGE_REPO = "zenoss/serviced-isvcs" - IMAGE_TAG = "v20" + IMAGE_TAG = "v21" ) func Init() {
bump serviced to use <I> of isvcs
control-center_serviced
train
62b353046f89aeb13fe19a943d1951024f5da5c9
diff --git a/tests/FrontControllerTest.php b/tests/FrontControllerTest.php index <HASH>..<HASH> 100644 --- a/tests/FrontControllerTest.php +++ b/tests/FrontControllerTest.php @@ -451,6 +451,8 @@ class FrontControllerTest extends TestCase */ public function testRedirectWithRtmpStream() { + $this->...
test(phpunit): Disable RTMP tests because the video we used is not available anymore
Rudloff_alltube
train
0dcb3b164fa008028c881f4547a8b0ed31e1a89b
diff --git a/common/persistence/EnvironmentVariableKVDriver.php b/common/persistence/EnvironmentVariableKVDriver.php index <HASH>..<HASH> 100644 --- a/common/persistence/EnvironmentVariableKVDriver.php +++ b/common/persistence/EnvironmentVariableKVDriver.php @@ -43,7 +43,7 @@ class EnvironmentVariableKVDriver implement...
Update common/persistence/EnvironmentVariableKVDriver.php
oat-sa_generis
train
bf0ab6b722613d69f9a8073ab8644c1a22a4a56d
diff --git a/builder/digitalocean/builder_acc_test.go b/builder/digitalocean/builder_acc_test.go index <HASH>..<HASH> 100644 --- a/builder/digitalocean/builder_acc_test.go +++ b/builder/digitalocean/builder_acc_test.go @@ -20,6 +20,10 @@ func TestBuilderAcc_basic(t *testing.T) { } func TestBuilderAcc_imageId(t *tes...
Force test to be skipped unless PACKER_ACC set.
hashicorp_packer
train
3265d13b082412f880767d6527894a5d9f070c03
diff --git a/splinter/driver/webdriver/phantomjs.py b/splinter/driver/webdriver/phantomjs.py index <HASH>..<HASH> 100644 --- a/splinter/driver/webdriver/phantomjs.py +++ b/splinter/driver/webdriver/phantomjs.py @@ -11,12 +11,6 @@ class WebDriverElement(BaseWebDriverElement): def double_click(self): raise ...
phantomjs: enabling mouse over and out.
cobrateam_splinter
train
059d9b7dffa3b751a380e2c822ca71b5c357a273
diff --git a/src/Ray/Di/Injector.php b/src/Ray/Di/Injector.php index <HASH>..<HASH> 100644 --- a/src/Ray/Di/Injector.php +++ b/src/Ray/Di/Injector.php @@ -289,16 +289,10 @@ class Injector implements InjectorInterface $module = $this->module; $bind = $module($class, new $this->bind); /* @var $...
refactor: readability, remove else
ray-di_Ray.Di
train
4e56406ab6094b46e965b75848444577d557d946
diff --git a/models/classes/LtiLaunchData.php b/models/classes/LtiLaunchData.php index <HASH>..<HASH> 100644 --- a/models/classes/LtiLaunchData.php +++ b/models/classes/LtiLaunchData.php @@ -389,11 +389,20 @@ class LtiLaunchData implements \JsonSerializable */ public function getToolConsumerName() { - ...
chore: remove stacked ternaries in `LtiLaunchData` to avoid the error "PHP Deprecated: Unparenthesized.."
oat-sa_extension-tao-lti
train
3f850ce784bd32a0ca40e5a1b7f6c02382b5115a
diff --git a/larray-buffer/src/main/java/xerial/larray/buffer/LBufferAPI.java b/larray-buffer/src/main/java/xerial/larray/buffer/LBufferAPI.java index <HASH>..<HASH> 100644 --- a/larray-buffer/src/main/java/xerial/larray/buffer/LBufferAPI.java +++ b/larray-buffer/src/main/java/xerial/larray/buffer/LBufferAPI.java @@ -4...
Add more ByteBuffer and Channel APIs to LBufferAPI This adds convenience writeTo() methods for GatheringByteChannel and a less optimized version for WritableByteChannel. This adds a readFrom() method for reading a ByteBuffer similar to the existing API for reading from byte arrays.
xerial_larray
train
db108e5be9d0b363b21de8b8952da372123f544e
diff --git a/stacker/providers/aws.py b/stacker/providers/aws.py index <HASH>..<HASH> 100644 --- a/stacker/providers/aws.py +++ b/stacker/providers/aws.py @@ -10,7 +10,23 @@ from ..util import retry_with_backoff logger = logging.getLogger(__name__) -def retry_cf_throttling(fn, attempts=3, args=None, kwargs=None): ...
Address @mhahn's feedback - rename retry_cf_throttling to retry_on_throttling - added a docstring as well
cloudtools_stacker
train
1ea73486ff7ec1e167fc82824f1f424c4d0a88ef
diff --git a/guice/hibernate/src/test/java/com/peterphi/std/guice/hibernate/largetable/MyTestDaoImpl.java b/guice/hibernate/src/test/java/com/peterphi/std/guice/hibernate/largetable/MyTestDaoImpl.java index <HASH>..<HASH> 100644 --- a/guice/hibernate/src/test/java/com/peterphi/std/guice/hibernate/largetable/MyTestDaoIm...
Fix visibility issues preventing AOP on test DAOs marked as package-private
petergeneric_stdlib
train
591a67fef87c8d3df702681ce9221379df784f9a
diff --git a/repository.go b/repository.go index <HASH>..<HASH> 100644 --- a/repository.go +++ b/repository.go @@ -24,6 +24,24 @@ func OpenRepository(path string) (*Repository, error) { runtime.LockOSThread() defer runtime.UnlockOSThread() + ret := C.git_repository_open(&repo.ptr, cpath) + if ret < 0 { + return ...
Add function to open repository from subpaths
libgit2_git2go
train
cbb724a313e6014fed8976510cd3f8cabbbae4b1
diff --git a/DependencyInjection/Compiler/AutoRegisterServicesPass.php b/DependencyInjection/Compiler/AutoRegisterServicesPass.php index <HASH>..<HASH> 100644 --- a/DependencyInjection/Compiler/AutoRegisterServicesPass.php +++ b/DependencyInjection/Compiler/AutoRegisterServicesPass.php @@ -15,6 +15,7 @@ namespace WellC...
Modified compiler passes to reflect auto-service changes (cherry picked from commit <I>fc<I>c<I>a7d5b9fe<I>ef2e5fcf<I>d9a<I>)
WellCommerce_CouponBundle
train
abb3ba87bf356281ddc58681c60c9a0af903a0ea
diff --git a/tests/integration/netapi/test_client.py b/tests/integration/netapi/test_client.py index <HASH>..<HASH> 100644 --- a/tests/integration/netapi/test_client.py +++ b/tests/integration/netapi/test_client.py @@ -44,6 +44,19 @@ class NetapiClientTest(TestCase): ret.pop('jid', None) self.assertEq...
integration test: known JID through netapi #<I>
saltstack_salt
train
f8a3a3fb9a0df2727108510a183832c05570124c
diff --git a/question/editlib.php b/question/editlib.php index <HASH>..<HASH> 100644 --- a/question/editlib.php +++ b/question/editlib.php @@ -1701,12 +1701,6 @@ function question_edit_setup($edittab, $baseurl, $requirecmid = false, $requirec } /** - * Required for legacy reasons. Was originally global then changed...
MDL-<I> questions: kill legacy global $QUESTION_EDITTABCAPS
moodle_moodle
train
d103386f55a692e8eb966fd3ab683907ab5d18b4
diff --git a/dallinger/experiment.py b/dallinger/experiment.py index <HASH>..<HASH> 100644 --- a/dallinger/experiment.py +++ b/dallinger/experiment.py @@ -98,10 +98,10 @@ class Experiment(object): @property def recruiter(self): """Recruiter, the Dallinger class that recruits participants. - De...
Use MTurkRecruiter instead of PsiTurkRecruiter
Dallinger_Dallinger
train
ba4b5fd10c51ca56753649abf400993f79e5087c
diff --git a/pushy/src/main/java/com/turo/pushy/apns/server/BaseHttp2Server.java b/pushy/src/main/java/com/turo/pushy/apns/server/BaseHttp2Server.java index <HASH>..<HASH> 100644 --- a/pushy/src/main/java/com/turo/pushy/apns/server/BaseHttp2Server.java +++ b/pushy/src/main/java/com/turo/pushy/apns/server/BaseHttp2Serve...
More carefully addressed a poorly-diagnosed race condition exposed in (but not caused by) recent versions of Netty/Java.
relayrides_pushy
train
965fa5d008c6a6d803363d865c3ce9fc1adb5892
diff --git a/src/finalisers/es6.js b/src/finalisers/es6.js index <HASH>..<HASH> 100644 --- a/src/finalisers/es6.js +++ b/src/finalisers/es6.js @@ -58,7 +58,7 @@ export default function es6 ( bundle, magicString ) { const defaultExport = module.exports.lookup( 'default' ); if ( defaultExport ) { - exportBlock += ...
test default exports are re-exported from internal module with export *
rollup_rollup
train
b349bb4785615418026419202053ef33c4976992
diff --git a/Slim/Route.php b/Slim/Route.php index <HASH>..<HASH> 100644 --- a/Slim/Route.php +++ b/Slim/Route.php @@ -111,6 +111,7 @@ class Route extends Routable implements RouteInterface, MiddlewareInterface $this->identifier = 'route' . $identifier; $this->middlewareRunner = new MiddlewareRunner()...
add missing type hints to Route methods and rename variable assignments in process()
slimphp_Slim
train
6237a4e3ab39c681542cdf58a0623148befed331
diff --git a/dropwizard-jersey/src/main/java/io/dropwizard/jersey/errors/IllegalStateExceptionMapper.java b/dropwizard-jersey/src/main/java/io/dropwizard/jersey/errors/IllegalStateExceptionMapper.java index <HASH>..<HASH> 100644 --- a/dropwizard-jersey/src/main/java/io/dropwizard/jersey/errors/IllegalStateExceptionMapp...
Fix code style errors pointed out by Checkstyle See #<I>
dropwizard_dropwizard
train
d8f53e2e76dfc688bb75f8662ad18ffccd8e1f73
diff --git a/resumable.js b/resumable.js index <HASH>..<HASH> 100644 --- a/resumable.js +++ b/resumable.js @@ -220,7 +220,6 @@ var Resumable = function(opts){ $.test = function(){ // Set up request and listen for event $.xhr = new XMLHttpRequest(); - $.xhr.timeout = 5000; // set a fairly low thr...
Firefox <I> is set to change the behaviour for . Have removed any timeout for when the server must respond.
23_resumable.js
train
e5e6e8aeae9e3cdbfb41a182f5b9c7996968daae
diff --git a/test/integration/test_mkp.py b/test/integration/test_mkp.py index <HASH>..<HASH> 100644 --- a/test/integration/test_mkp.py +++ b/test/integration/test_mkp.py @@ -177,5 +177,5 @@ dist({ assert package.info['name'] == 'foo' assert package.info['files']['agents'] == ['special/agent_test'] asser...
Break build to test github actions
tom-mi_python-mkp
train
272b67c865a6a62a564386f7f7de74462471ffd2
diff --git a/lib/replicant.js b/lib/replicant.js index <HASH>..<HASH> 100644 --- a/lib/replicant.js +++ b/lib/replicant.js @@ -55,11 +55,10 @@ function Replicant(name, bundle, opts, nodecg) { /* jshint -W093 */ function value(newVal) { - if (typeof newVal === 'undefined') { - return replic...
[replicants] make server-side value getter/setter safer
nodecg_nodecg
train
942e3049f7810face7e17bb73309bc6cc2fae4a6
diff --git a/tests/dummy/app/instance-initializers/dummy.js b/tests/dummy/app/instance-initializers/dummy.js index <HASH>..<HASH> 100644 --- a/tests/dummy/app/instance-initializers/dummy.js +++ b/tests/dummy/app/instance-initializers/dummy.js @@ -19,7 +19,7 @@ export default { store.set('_applicationName', 'dummy'...
disable throttle for dummy --HG-- branch : feature/attachments
ampatspell_ember-cli-sofa
train
660163b31beae4c550db68022c568b41df75d8e9
diff --git a/src/Auth0.php b/src/Auth0.php index <HASH>..<HASH> 100644 --- a/src/Auth0.php +++ b/src/Auth0.php @@ -535,6 +535,10 @@ class Auth0 } if (isset($response['id_token'])) { + if (! $this->transientHandler->isset(self::TRANSIENT_NONCE_KEY)) { + throw new InvalidToke...
Move nonce failure exception into Auth0->exchange()
auth0_auth0-PHP
train
629d270ed39beaba16d91e9457704344254d9e34
diff --git a/addons/cb.git/client.js b/addons/cb.git/client.js index <HASH>..<HASH> 100644 --- a/addons/cb.git/client.js +++ b/addons/cb.git/client.js @@ -15,7 +15,7 @@ define(["views/dialog"], function(GitDialog) { return rpc.execute("git/status") .then(function() { updateMenu(true); - ...
Update status when refresh of branches list is incorrect
CodeboxIDE_codebox
train
a4be39956fde41793f4a756e7c1e7360e3b2f145
diff --git a/lib/sky-pages-route-generator.js b/lib/sky-pages-route-generator.js index <HASH>..<HASH> 100644 --- a/lib/sky-pages-route-generator.js +++ b/lib/sky-pages-route-generator.js @@ -24,7 +24,7 @@ function generateDefinition(skyPagesConfig, file, name, params) { }); const definition = -`// BEGIN AUTO GE...
Incorporated additional feedback to increment component names
blackbaud_skyux-builder
train
944a2d04b4437aae3a3747df073c858f57906245
diff --git a/src/main/java/io/vlingo/http/resource/Resource.java b/src/main/java/io/vlingo/http/resource/Resource.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/vlingo/http/resource/Resource.java +++ b/src/main/java/io/vlingo/http/resource/Resource.java @@ -13,7 +13,6 @@ import java.util.Collections; import j...
Pass World as argument to ResourceHandler if compatible constructor.
vlingo_vlingo-http
train
e36e1eb2889eae3189c7d3466c25264e7d15e0b4
diff --git a/Lib/extractor/formats/ttx.py b/Lib/extractor/formats/ttx.py index <HASH>..<HASH> 100644 --- a/Lib/extractor/formats/ttx.py +++ b/Lib/extractor/formats/ttx.py @@ -10,7 +10,7 @@ def isTTX(pathOrFile): font = TTFont() font.importXML(pathOrFile) del font - except TTLibError: + ...
Only listening for TTLibError will ignore lots of other errors, especially ExpatError. So, blindly try/except.
robotools_extractor
train
ed69a722f73572643deb4209b038accf82f4b18f
diff --git a/cmd/peco/peco.go b/cmd/peco/peco.go index <HASH>..<HASH> 100644 --- a/cmd/peco/peco.go +++ b/cmd/peco/peco.go @@ -17,7 +17,7 @@ Usage: percol [options] [FILE] Options: -h, --help show this help message and exit - --rcfile=RCFILE path to the settings file + --rcfile=RCFILE path...
s/\t/ /
peco_peco
train
0f2a421359af90bcb4936cf1b90efc2ccef8a464
diff --git a/core/src/main/java/com/orientechnologies/orient/core/db/record/ORecordLazySet.java b/core/src/main/java/com/orientechnologies/orient/core/db/record/ORecordLazySet.java index <HASH>..<HASH> 100755 --- a/core/src/main/java/com/orientechnologies/orient/core/db/record/ORecordLazySet.java +++ b/core/src/main/ja...
Fix for <I>, fix for records in lazy sets with ids that are not persisted cordLazySet.java
orientechnologies_orientdb
train
cf982c85557c50b43d7bfa46d0ca59d1af298be0
diff --git a/resource_openstack_networking_subnet_v2.go b/resource_openstack_networking_subnet_v2.go index <HASH>..<HASH> 100644 --- a/resource_openstack_networking_subnet_v2.go +++ b/resource_openstack_networking_subnet_v2.go @@ -245,9 +245,9 @@ func resourceNetworkingSubnetV2Update(d *schema.ResourceData, meta interf...
provider/openstack: gophercloud migration: Only set 'gateway_ip' to "" if 'no_gateway' == true.
terraform-providers_terraform-provider-openstack
train
fd4366699f506b8b8efb347ac418f856c86d24a7
diff --git a/index.d.ts b/index.d.ts index <HASH>..<HASH> 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1191,7 +1191,7 @@ declare namespace Eris { addSelfPremiumSubscription(token: string, plan: string): Promise<void>; deleteSelfPremiumSubscription(): Promise<void>; getRESTChannel(channelID: string): Prom...
Support getting Guild with counts (#<I>)
abalabahaha_eris
train
0007a580b2c6155c49051d6ffc1fe3a59f45cfb4
diff --git a/server/handlers/websocket_handler_test.go b/server/handlers/websocket_handler_test.go index <HASH>..<HASH> 100644 --- a/server/handlers/websocket_handler_test.go +++ b/server/handlers/websocket_handler_test.go @@ -1,7 +1,6 @@ package handlers_test import ( - "io" "net/http" "net/http/httptest" "t...
Gorilla Websocket updated its close message format for normal closures. The tests had to be changed accordingly
cloudfoundry-attic_loggregatorlib
train
223e81e0644fd29d3b4a725b705960f085809c53
diff --git a/hearthstone/hslog/packets.py b/hearthstone/hslog/packets.py index <HASH>..<HASH> 100644 --- a/hearthstone/hslog/packets.py +++ b/hearthstone/hslog/packets.py @@ -108,6 +108,22 @@ class ChosenEntities(Packet): self.choices = [] +class Options(Packet): + def __init__(self, id): + self.entity = None +...
hslog: Add support for options and suboptions
HearthSim_python-hearthstone
train
a7c9c327fba04a9b5c425a2f30af248ab97f6de4
diff --git a/salesforce/tests/test_integration.py b/salesforce/tests/test_integration.py index <HASH>..<HASH> 100644 --- a/salesforce/tests/test_integration.py +++ b/salesforce/tests/test_integration.py @@ -342,3 +342,16 @@ class BasicSOQLTest(TestCase): self.skipTest('Django 1.3 has no bulk operations.') object...
Add test for escaping single quotes.
django-salesforce_django-salesforce
train
6d311bd826f1955b8a76ea107161b2165c0b69e0
diff --git a/src/device.js b/src/device.js index <HASH>..<HASH> 100644 --- a/src/device.js +++ b/src/device.js @@ -29,7 +29,7 @@ class Device { this.model = model; this.data = Object.assign({}, data); this.data.model = model; - if (!alias == null) this.data.alias = alias; + if (alias != null) this....
fix: not setting alias passed in device constructor fixes #<I>
plasticrake_tplink-smarthome-simulator
train
f4bb0a62cba9d0035eb636b2d33eb98d0fe616af
diff --git a/lib/ApiCLI.php b/lib/ApiCLI.php index <HASH>..<HASH> 100644 --- a/lib/ApiCLI.php +++ b/lib/ApiCLI.php @@ -377,14 +377,15 @@ class ApiCLI extends AbstractView } /** Load config if necessary and look up corresponding setting */ function getConfig($path, $default_value = undefined){ + ...
fixed name of Exception class in documentation
atk4_atk4
train
b53d6143382d732d7cda7dd27a5a3f4fadaaed59
diff --git a/ruby_event_store/spec/client_spec.rb b/ruby_event_store/spec/client_spec.rb index <HASH>..<HASH> 100644 --- a/ruby_event_store/spec/client_spec.rb +++ b/ruby_event_store/spec/client_spec.rb @@ -435,5 +435,68 @@ module RubyEventStore expect{ client.read_all_streams_forward(count: -1) }.to raise_error...
Readd specs missed in previous commit It turns out that in the previous commit where we merged client specs into client_spec we forgot to add specs from one file: spec/actions/create_events_in_stream_spec.rb ...which we deleted. We just noticed that the overall number of examples dropped. What's intriguing: why did...
RailsEventStore_rails_event_store
train
ae968bbcb5fc85305b17494e59de5cf6e778279a
diff --git a/compile/service.go b/compile/service.go index <HASH>..<HASH> 100644 --- a/compile/service.go +++ b/compile/service.go @@ -316,7 +316,7 @@ func (rs *ResultSpec) Link(scope Scope) (err error) { if !ok || spec.Type != ast.ExceptionType { return notAnExceptionError{ FieldName: exception.ThriftName(...
compile/service: fix nil deref for exception (#<I>) If you attempt to use a type that isn't user defined as an exception, the system panics instead of returning an error. This change fixes the issue and adds a failing test case.
thriftrw_thriftrw-go
train
e9ec56fff117203eab723c0245e75e0f756dc5d3
diff --git a/compiler/prelude.go b/compiler/prelude.go index <HASH>..<HASH> 100644 --- a/compiler/prelude.go +++ b/compiler/prelude.go @@ -490,6 +490,25 @@ var go$structType = function(fields) { this[fields[i][0]] = arguments[i]; } }); + // collect methods for anonymous fields + var i, j; + for (i = 0; i...
collect methods for anonymous fields of anonymous structs
gopherjs_gopherjs
train
8258b7b525f6692607ecd344837ae8391d7392e0
diff --git a/enju_leaf.gemspec b/enju_leaf.gemspec index <HASH>..<HASH> 100644 --- a/enju_leaf.gemspec +++ b/enju_leaf.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,db,lib,vendor}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"] s.test_files = Dir["spec/**/*"] - Dir["spec/d...
load enju_biblio and enju_library
next-l_enju_leaf
train
b3964b9406dea4d4b6aaaca6d96638c25c42ff19
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js +++ b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js @@ -1...
run the deploy command with the selection of the explorer instead of treeRoot
eclipse_orion.client
train
0292061542817627cb443ffe68cef143defec8ef
diff --git a/cmd/shield/archives_cli.go b/cmd/shield/archives_cli.go index <HASH>..<HASH> 100644 --- a/cmd/shield/archives_cli.go +++ b/cmd/shield/archives_cli.go @@ -103,16 +103,13 @@ func processListArchivesRequest(cmd *cobra.Command, args []string) { } t := tui.NewTable("UUID", "Target Type", "Target Name", "S...
Less derpy way to get target name
starkandwayne_shield
train
c37a05ac4f17b20ac2488ad47a61e7dc3fdcebda
diff --git a/src/PhpFileCache.php b/src/PhpFileCache.php index <HASH>..<HASH> 100755 --- a/src/PhpFileCache.php +++ b/src/PhpFileCache.php @@ -101,23 +101,21 @@ class PhpFileCache extends FileCache { $timeOut = time() + $timeToLive; } - if (is_object($value) && !method_exists($value, '__set_state')) { - ...
Handle circular references in PhpFileCache
thecodingmachine_utils.cache.file-cache
train
67199f81b40d603d191a8a3a006c885071e0e9ed
diff --git a/test/stats-gputime.js b/test/stats-gputime.js index <HASH>..<HASH> 100644 --- a/test/stats-gputime.js +++ b/test/stats-gputime.js @@ -6,7 +6,10 @@ tape('test gpuTime', function (t) { var gl = createContext(100, 100) t.equals(gl.getError(), 0, 'error code ok') - var regl = createREGL(gl) + var reg...
make gputime test always load extension for stats
regl-project_regl
train
b797da4e5a9252fc3258b9a95d478ae8d2726b2c
diff --git a/classes/task.js b/classes/task.js index <HASH>..<HASH> 100644 --- a/classes/task.js +++ b/classes/task.js @@ -37,11 +37,14 @@ module.exports = class SayHello extends Task { } /** + * The main "do something" method for this task. It can be `async`. Anything returned from this metod will be logge...
note about this in a task's run method
actionhero_actionhero
train
d47ad9f12bbb01576a9ce320eb08b5ac4038cc90
diff --git a/src/bin/repl.js b/src/bin/repl.js index <HASH>..<HASH> 100644 --- a/src/bin/repl.js +++ b/src/bin/repl.js @@ -270,7 +270,7 @@ function read(input) { openParens += countOpeningParens(input); openParens -= countClosingParens(input); - buffer += input; + buffer += input + "\n"; if (openParens =...
fix(repl): preserve new lines
xtuc_webassemblyjs
train
c4167025f3da10c03d2ec413f2c3b7f9822c7a51
diff --git a/models/classes/runner/features/ManageableFeature.php b/models/classes/runner/features/ManageableFeature.php index <HASH>..<HASH> 100644 --- a/models/classes/runner/features/ManageableFeature.php +++ b/models/classes/runner/features/ManageableFeature.php @@ -20,6 +20,9 @@ namespace oat\taoTests\models\ru...
set service locator into manageble feature
oat-sa_extension-tao-test
train
94d93992239e26406b79d496b18d9d6a5e01362d
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,8 @@ Quality::Rake::Task.new { |t| # Array of directory names which contain ruby files to analyze. # - # Defaults to %w{lib test spec feature}, which translates to *.rb in the base directory, as well as ...
Include `app` in default directories Since Rails is so prevalent I believe it makes sense to include this.
apiology_quality
train
132ec39b9aca64a648e2c1353a3bd2ea25d04021
diff --git a/src/featherlight.js b/src/featherlight.js index <HASH>..<HASH> 100644 --- a/src/featherlight.js +++ b/src/featherlight.js @@ -241,13 +241,12 @@ /* sets the content of $instance to $content */ setContent: function($content){ var self = this; - /* we need a special class for the iframe */ - if(...
Fix -iframe class for gallery [#<I>]
noelboss_featherlight
train
8024b6dd506443242d472520f40625598f4f223d
diff --git a/pysolr.py b/pysolr.py index <HASH>..<HASH> 100644 --- a/pysolr.py +++ b/pysolr.py @@ -232,7 +232,7 @@ class Solr(object): def _create_full_url(self, path=''): if len(path): - return '/'.join([self.url, path.lstrip('/')]) + return '/'.join([self.url.rstrip('/'), path.ls...
Make sure trailing and leading slashes do not collide
django-haystack_pysolr
train
e08c96ff71db94eca8a0986bc4484cabdf7d36c0
diff --git a/webpack.common.js b/webpack.common.js index <HASH>..<HASH> 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -12,7 +12,8 @@ const nodeModules = path.join(root, '/node_modules/') module.exports = { entry: { - app: ['babel-polyfill', path.resolve(demo + 'index.js')] + app: [path.resol...
chore(webpack): Extra polyfill bundle
matsp_material-components-vue
train
e51dbce48e96a1008ac0fae2cf6da1a4d0cc1626
diff --git a/Slim/App.php b/Slim/App.php index <HASH>..<HASH> 100644 --- a/Slim/App.php +++ b/Slim/App.php @@ -523,17 +523,15 @@ class App extends \Pimple\Container public function __invoke(RequestInterface $request, ResponseInterface $response) { $routeInfo = $this['router']->dispatch($request); + ...
Prioritize most likely scenario in App __invoke method
slimphp_Slim
train
7a8c9e66d9c43a539fb78107ce3f51f16c7f30a2
diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py index <HASH>..<HASH> 100644 --- a/discord/ext/tasks/__init__.py +++ b/discord/ext/tasks/__init__.py @@ -40,6 +40,7 @@ class Loop: self._is_being_cancelled = False self._has_failed = False self._stop_next_iteration = Fa...
[tasks] Add Loop.exception for more reliable exception retrieval.
Rapptz_discord.py
train
5358eba94028bb7bce186966536c8bad0c358f24
diff --git a/src/iogi/reflection/ClassConstructor.java b/src/iogi/reflection/ClassConstructor.java index <HASH>..<HASH> 100644 --- a/src/iogi/reflection/ClassConstructor.java +++ b/src/iogi/reflection/ClassConstructor.java @@ -52,31 +52,6 @@ public class ClassConstructor { return names; } - @Override - public in...
Removed overriden equals and hashcode in ClassConstructor. We don't rely on them anymore for matching appropriate constructor from desired parameters.
rafaeldff_Iogi
train
0d6745255a83e31aeba27b2764a8eb0029b651b3
diff --git a/docker-java-api/src/main/java/com/github/dockerjava/api/model/HostConfig.java b/docker-java-api/src/main/java/com/github/dockerjava/api/model/HostConfig.java index <HASH>..<HASH> 100644 --- a/docker-java-api/src/main/java/com/github/dockerjava/api/model/HostConfig.java +++ b/docker-java-api/src/main/java/c...
Fix HostConfig's NanoCpus JsonProperty wrong casing (#<I>) * Fix HostConfig's NanoCpus JsonProperty wrong casing - fixes HostConfig's NanoCpus JsonProperty casing - adds basic tests related to HostConfig NanoCPUs * Remove unnecessary NanoCPUs test
docker-java_docker-java
train
939aa2f4f2805759b50b3ba1acd0704de4b167cf
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -295,7 +295,8 @@ Keys may be retrieved with or without an index: ##### Mapping -The `map` method allows you to modify the object being returned: +The `map` method allows you to modify the object being returned +withou...
Address issue #<I>: Ensure mapper changes will never be seen by modify; future-proof to ensure modify changes will always be seen by the mapper
aaronpowell_db.js
train
c2821a70cb963b50254213a6046106bc8bd6be66
diff --git a/docs/references/bib.bib b/docs/references/bib.bib index <HASH>..<HASH> 100644 --- a/docs/references/bib.bib +++ b/docs/references/bib.bib @@ -897,6 +897,22 @@ year = {1967}, } +@article{lentz:1976, + abstract = {A new method of generating the Bessel functions and ratios of Bessel functions necessary f...
Insert to bib file and update reference
stdlib-js_stdlib
train