hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
567f8f46eb85909fe540a1ca9ad8cd62d52e8c71
diff --git a/pdb.py b/pdb.py index <HASH>..<HASH> 100644 --- a/pdb.py +++ b/pdb.py @@ -704,8 +704,8 @@ class Pdb(pdb.Pdb, ConfigurableClass, object): and (cmd in self.curframe.f_globals or cmd in self.curframe_locals) ) or arg.startswith("="): cmd, arg, newline...
parseline: handle `next()` as builtin also (#<I>) Without this `next(foo)` would call the `do_next` command.
antocuni_pdb
train
5dc1299e9e6808ab20e3b0d8b50b4a8a364b7cea
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ #### Additions * `AIXM::Component::FATO` -* `AIXM::Component::Helipad#helicopter_class` and `AIXM::Component::Helipad#marking` +* `AIXM::Component::Helipad#helicopter_class` and `AIXM::Compone...
AIXM::XY#seconds? to detect possibly rounded or estimated coordinates
svoop_aixm
train
b455b2673cf743ea9b4e7ca85f0425d2aaad2f8e
diff --git a/UserAgentParserEnhanced.php b/UserAgentParserEnhanced.php index <HASH>..<HASH> 100644 --- a/UserAgentParserEnhanced.php +++ b/UserAgentParserEnhanced.php @@ -335,17 +335,17 @@ class UserAgentParserEnhanced protected function getOsRegexes() { - return Spyc::YAMLLoad(__DIR__ . self::$regex...
DeviceDetection compatibility with PHP <I>
matomo-org_device-detector
train
c5853d515ff04ba72d2fc950588c2da1b467f074
diff --git a/core/src/main/java/cj/restspecs/core/RestSpec.java b/core/src/main/java/cj/restspecs/core/RestSpec.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/cj/restspecs/core/RestSpec.java +++ b/core/src/main/java/cj/restspecs/core/RestSpec.java @@ -42,6 +42,7 @@ import java.io.InputStream; import java.io...
When one queries for a parameter name in their test, and it does not exist, we will throw an exception because most likely there is a typo in the test. (pair [dsiefert kramakrishnan])
cjdev_rest-specs
train
161db94caded01ce6633c385e291799f22ca242e
diff --git a/jaide/core.py b/jaide/core.py index <HASH>..<HASH> 100644 --- a/jaide/core.py +++ b/jaide/core.py @@ -116,7 +116,7 @@ class Jaide(): self._scp = "" self.conn_type = connect self._in_cli = False - self._filename = "" + self._filename = None # make the connec...
SCP function progress callback update SCP functions can now accept a function pointer as the progress parameter, to redirect the callback to a user defined location, rather than to the _copy_status() function.
NetworkAutomation_jaide
train
9ea62e0c9f64321d56f5e03c5b10d3c5ec771ff5
diff --git a/umbra/ui/highlighters.py b/umbra/ui/highlighters.py index <HASH>..<HASH> 100644 --- a/umbra/ui/highlighters.py +++ b/umbra/ui/highlighters.py @@ -29,7 +29,7 @@ import foundations.common import foundations.core as core import foundations.dataStructures import foundations.exceptions -from foundations.dag ...
Implement "Foundations" package changes.
KelSolaar_Umbra
train
ece0cde51e34698a5f172e426e139988151a0289
diff --git a/richtextfx/src/main/java/org/fxmisc/richtext/skin/StyledTextAreaBehavior.java b/richtextfx/src/main/java/org/fxmisc/richtext/skin/StyledTextAreaBehavior.java index <HASH>..<HASH> 100644 --- a/richtextfx/src/main/java/org/fxmisc/richtext/skin/StyledTextAreaBehavior.java +++ b/richtextfx/src/main/java/org/fx...
Disallow editing by selection dragging when not editable. Fixes #<I>.
FXMisc_RichTextFX
train
5f982e11345b11b295a73359706de0c452f02222
diff --git a/packages/aws-amplify-vue/__tests__/SignUp.test.js b/packages/aws-amplify-vue/__tests__/SignUp.test.js index <HASH>..<HASH> 100644 --- a/packages/aws-amplify-vue/__tests__/SignUp.test.js +++ b/packages/aws-amplify-vue/__tests__/SignUp.test.js @@ -82,7 +82,7 @@ describe('SignUp', () => { label: 'U...
fix(@aws-amplify/aws-amplify-vue): Change the tests to check for the HTML valid attribute value 'text' rather than 'string'
aws-amplify_amplify-js
train
6ea0590805ec24a6bc25165e694419121f5da891
diff --git a/Core/Bundle.php b/Core/Bundle.php index <HASH>..<HASH> 100644 --- a/Core/Bundle.php +++ b/Core/Bundle.php @@ -374,6 +374,9 @@ class Bundle extends \Asgard\Core\BundleLoader { $migrationCreate = new \Asgard\Migration\Commands\CreateCommand($container['kernel']['root'].'/migrations'); $container['con...
core: add a parameter for compiled classes file path and a configurable option to compile them
asgardphp_asgard
train
d2afc34ba6efe60f9123b03c72f3f7535c83c2a4
diff --git a/validate.js b/validate.js index <HASH>..<HASH> 100644 --- a/validate.js +++ b/validate.js @@ -377,6 +377,7 @@ function checkPathItem(pathItem, openapi, options) { contextAppend(options, o); var op = pathItem[o]; if (o === '$ref') { + should(op).be.ok(); op...
validate; hardening last change against nulls i.e. incorrectly quoted $refs looking like yaml comments.
wework_speccy
train
c1594c68bc3ae3a94c824ff2a71033331d30d5a6
diff --git a/pypot/creatures/ik.py b/pypot/creatures/ik.py index <HASH>..<HASH> 100644 --- a/pypot/creatures/ik.py +++ b/pypot/creatures/ik.py @@ -66,7 +66,21 @@ class IKChain(Chain): return self.forward_kinematics(angles)[:3, 0] @property + def pose(self): + """ + Gives the 4x4 affine t...
feat(IK): Added comments Ik files were lacking comments to be read by other developers.
poppy-project_pypot
train
2441c168bf16618ec3d750c2b0ef6f2cbe5f9158
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,10 @@ import sys from os.path import dirname, join -from pip.req import parse_requirements +try: + from pip._internal.req import parse_requirements +except ImportError: + from pip.req import parse_requireme...
fix bug with pip <I>
ricequant_rqalpha
train
0decd46dd069285e95278bc4f6f2a50fd4ba0e3a
diff --git a/savannaclient/api/shell.py b/savannaclient/api/shell.py index <HASH>..<HASH> 100644 --- a/savannaclient/api/shell.py +++ b/savannaclient/api/shell.py @@ -13,8 +13,11 @@ # License for the specific language governing permissions and limitations # under the License. +import argparse +import inspect ...
Add node-group-template-create to CLI node-group-template-create takes a json data structure and passes it on to the Savanna API. The data structure is read from stdin by default or from a file provided by the --json parameter. Change-Id: I9f<I>df<I>d<I>e<I>e<I>ccafee<I>c<I>c9d Implements: blueprint python-savannacli...
openstack_python-saharaclient
train
7e5c64ca7fddc672339a70229042d7d00933d3a2
diff --git a/provisioner/salt-masterless/provisioner.go b/provisioner/salt-masterless/provisioner.go index <HASH>..<HASH> 100644 --- a/provisioner/salt-masterless/provisioner.go +++ b/provisioner/salt-masterless/provisioner.go @@ -5,11 +5,10 @@ package saltmasterless import ( "errors" "fmt" - "github.com/mitchellh...
provisioner/salt-masterless: use common lib for config decoding /cc @rgarcia - Since you opened the pull request, common config decoding stuff has been pulled out into the common Package. This simplifies a lot of code.
hashicorp_packer
train
ec8d8cc901510e44a9404965dfdbf0c3f994136f
diff --git a/lib/puppet/util/colors.rb b/lib/puppet/util/colors.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/util/colors.rb +++ b/lib/puppet/util/colors.rb @@ -79,8 +79,9 @@ module Puppet::Util::Colors # We define console_has_color? at load time since it's checking the # underlying platform which will not chan...
(PUP-<I>) Don't use win<I>console if ruby v2 Some of this work was done with PUP-<I> (support bundler workflow). That limits win<I>console down to being installed/depended upon only for ruby 1.x. This builds on top of that to only setup functions for colorizing output when using Ruby 1.x on Windows.
puppetlabs_puppet
train
3d0edb41452077f34c543cc9996e23872ca46938
diff --git a/modules/admin/src/ngrest/base/Plugin.php b/modules/admin/src/ngrest/base/Plugin.php index <HASH>..<HASH> 100644 --- a/modules/admin/src/ngrest/base/Plugin.php +++ b/modules/admin/src/ngrest/base/Plugin.php @@ -77,7 +77,7 @@ abstract class Plugin extends Component throw new Exception("Plugin at...
user after valide event for ngrest attribute #<I>
luyadev_luya
train
063683a48df3b1c156955f97e0421e27825a9349
diff --git a/lxd/db/certificates.go b/lxd/db/certificates.go index <HASH>..<HASH> 100644 --- a/lxd/db/certificates.go +++ b/lxd/db/certificates.go @@ -82,8 +82,9 @@ func (cert *Certificate) ToAPIType() string { return api.CertificateTypeUnknown } -// ToAPI converts the database Certificate struct to an api.Certifi...
lxd/db: Use ClusterTx with ToAPI for filling reference fields As we don't necessarily want to query every table associated with an entity each time, pass in a transaction to ToAPI so that the fields can at least be filled for the public facing representations.
lxc_lxd
train
8c83ce4b880dd8c7a15e46416f72e77a54f4deaf
diff --git a/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEndpointImpl.java b/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEndpointImpl.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEndpointImpl.java +++ b/hazelcast/src/main/java/com/hazelcast/clien...
Remove warnings for old client stats format (#<I>)
hazelcast_hazelcast
train
0f69b924fbda6a442d721b10ece38ccfc6b67275
diff --git a/src/transformers/models/auto/tokenization_auto.py b/src/transformers/models/auto/tokenization_auto.py index <HASH>..<HASH> 100644 --- a/src/transformers/models/auto/tokenization_auto.py +++ b/src/transformers/models/auto/tokenization_auto.py @@ -225,6 +225,13 @@ else: None, ...
[XGLMTokenizer] fix init and add in AutoTokenizer (#<I>)
huggingface_pytorch-pretrained-BERT
train
95e1c45249ac4d719830fc4fbb8d107ec77d866c
diff --git a/tests/Http/HttpTestingFileFactoryTest.php b/tests/Http/HttpTestingFileFactoryTest.php index <HASH>..<HASH> 100644 --- a/tests/Http/HttpTestingFileFactoryTest.php +++ b/tests/Http/HttpTestingFileFactoryTest.php @@ -7,11 +7,17 @@ use PHPUnit\Framework\TestCase; /** * @requires extension gd + * + * @link...
[9.x] skip image create tests if gd library is not supported (#<I>) * [9.x] skip image create test if gd library is not supported * fix styling * replace constants with direct usage
laravel_framework
train
d91ec18f3a268446354b2655ecb2d6588997fb1d
diff --git a/src/styles.js b/src/styles.js index <HASH>..<HASH> 100644 --- a/src/styles.js +++ b/src/styles.js @@ -36,20 +36,16 @@ module.exports = { margin: '0 15px 0 0', }, clearBtn: { - background: 'rgba(255, 255, 255, 0.498039)', - borderBottom: 'none', - borderImage: 'initia...
css changes to clean button
rafaelrozon_react-storybook-console
train
02ebfa06f78a590b607f86a44878c02b7a0f322f
diff --git a/presto-main/src/main/java/com/facebook/presto/memory/ClusterMemoryManager.java b/presto-main/src/main/java/com/facebook/presto/memory/ClusterMemoryManager.java index <HASH>..<HASH> 100644 --- a/presto-main/src/main/java/com/facebook/presto/memory/ClusterMemoryManager.java +++ b/presto-main/src/main/java/co...
Remove redundant code from ClusterMemoryManager Presto memory pools are not dynamic, so ClusterMemoryManager can assert that the GENERAL, RESERVED and SYSTEM pools exist and act accordingly.
prestodb_presto
train
498970147b3ca5f7444507d11c2bd70539b7a80e
diff --git a/ConfigurationReader/GeneratorOptions.php b/ConfigurationReader/GeneratorOptions.php index <HASH>..<HASH> 100755 --- a/ConfigurationReader/GeneratorOptions.php +++ b/ConfigurationReader/GeneratorOptions.php @@ -50,7 +50,12 @@ class GeneratorOptions extends AbstractYamlReader */ protected function...
improve method with sanity check
WsdlToPhp_PackageGenerator
train
1e09e783f637b6c9057662d9ee2cc6d6f7aca011
diff --git a/phypno/ioeeg/blackrock.py b/phypno/ioeeg/blackrock.py index <HASH>..<HASH> 100644 --- a/phypno/ioeeg/blackrock.py +++ b/phypno/ioeeg/blackrock.py @@ -219,7 +219,7 @@ def _read_neuralsg(filename): hdr['SamplingFreq'] = int(hdr['TimeRes'] / unpack('<I', f.read(4))[0]) n_chan = unpack('<I', ...
bugfix: unpack had the wrong format with multiple channels
wonambi-python_wonambi
train
2b2b1f89bb46243740d5b36a8bdecd5ba3633be7
diff --git a/openquake/hazardlib/geo/line.py b/openquake/hazardlib/geo/line.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/geo/line.py +++ b/openquake/hazardlib/geo/line.py @@ -34,7 +34,7 @@ class Line(object): This class represents a geographical line, which is basically a sequence of geographical ...
A line must have at least 2 points
gem_oq-engine
train
7c1acf7d15eec01f75833f6415bc07d8245c2788
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup,find_packages setup( name='synapse', - version='0.0.16', # sync with synapse.version! + version='0.0.17', # sync with synapse.version! description='Synapse Distribut...
update versions in prep for <I> tag
vertexproject_synapse
train
29ff72ad7dfa568882d5ccb09ad3a01c140c4b8e
diff --git a/ruby_event_store/lib/ruby_event_store/mappers/default.rb b/ruby_event_store/lib/ruby_event_store/mappers/default.rb index <HASH>..<HASH> 100644 --- a/ruby_event_store/lib/ruby_event_store/mappers/default.rb +++ b/ruby_event_store/lib/ruby_event_store/mappers/default.rb @@ -1,5 +1,4 @@ require 'yaml' -requ...
Remove ActiveSupport dependency from `ruby_event_store` gem
RailsEventStore_rails_event_store
train
16033e4924261d8c90b7dbc67b3d20767b16225c
diff --git a/__tests__/actions/__snapshots__/api.js.snap b/__tests__/actions/__snapshots__/api.js.snap index <HASH>..<HASH> 100644 --- a/__tests__/actions/__snapshots__/api.js.snap +++ b/__tests__/actions/__snapshots__/api.js.snap @@ -11,6 +11,15 @@ Array [ "type": "ROUTING_REQUEST", }, ], + Array [ + ...
test: fix linting and testing errors
opentripplanner_otp-react-redux
train
c68957b14ffb17eeaae4f733847f93c845281e81
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,41 +1,6 @@ var _ = require('lodash'); /** - * Check that a compatible version of gulp is available in the project - */ - -function fatal() { - var msg = '\n\n'; - for (var i = 0; i < arguments.length; i++) { - msg += a...
remove global gulp support, gulp version check Again, this wasn't working anyway due to `semver` being undefined
JedWatson_react-component-gulp-tasks
train
e2a6ce1968236da4a642a6f17a1ff1deeeadf911
diff --git a/Resources/Private/JavaScript/Guest/Components/Editors/CKEditorAdaptor/CreateCKEditorInstance/index.js b/Resources/Private/JavaScript/Guest/Components/Editors/CKEditorAdaptor/CreateCKEditorInstance/index.js index <HASH>..<HASH> 100644 --- a/Resources/Private/JavaScript/Guest/Components/Editors/CKEditorAdapt...
TASK: Re-create format drop down for new editor toolbar
neos_neos-ui
train
270050d6fc6ddc9d8bb338dee9daa30f4a2f4780
diff --git a/api/api_v1.py b/api/api_v1.py index <HASH>..<HASH> 100644 --- a/api/api_v1.py +++ b/api/api_v1.py @@ -491,8 +491,8 @@ def get_slack_users(): def upload_data(): data = json.loads(request.data) - file_url = s3_upload_file('blockstack', data['value'], data['key'], - pub...
make sure all file uploads are placed in a staging folder
blockstack_blockstack-core
train
2bd40836abdcae4be3946ed4642e80954f4fe777
diff --git a/set/dict_test.go b/set/dict_test.go index <HASH>..<HASH> 100644 --- a/set/dict_test.go +++ b/set/dict_test.go @@ -118,6 +118,19 @@ func TestFlattenCaches(t *testing.T) { } } +func TestFlattenCaches_CacheReturn(t *testing.T) { + set := New() + item := `test` + set.Add(item) + + flatten1 := set.Flatten(...
Set: Add unit test to confirm that Flatten return the same cached result as before
Workiva_go-datastructures
train
2d3b63c3f5008741ad7aa8ae1c0bdd522c1887e9
diff --git a/src/Illuminate/Collections/Collection.php b/src/Illuminate/Collections/Collection.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Collections/Collection.php +++ b/src/Illuminate/Collections/Collection.php @@ -1056,25 +1056,31 @@ class Collection implements ArrayAccess, Enumerable * Get the first...
Added operator suport for the sole() method.
laravel_framework
train
4beadef8b5a254a08e03ab80ae1f32a5c07d5278
diff --git a/neutronclient/neutron/v2_0/fw/firewallrule.py b/neutronclient/neutron/v2_0/fw/firewallrule.py index <HASH>..<HASH> 100644 --- a/neutronclient/neutron/v2_0/fw/firewallrule.py +++ b/neutronclient/neutron/v2_0/fw/firewallrule.py @@ -97,7 +97,8 @@ class CreateFirewallRule(neutronv20.CreateCommand): ...
Fix True/False to accept Camel and Lower case There are couple of inconsistency in using the Camelcase and Lower case for 'True/False' options in the python-neutronclient. With this fix it will be consistent across all CLI commands. Change-Id: Ifc<I>ac<I>e<I>f<I>f<I>b<I>a<I>fa0
rackerlabs_rackspace-python-neutronclient
train
7f696c0b50ff18faa948ac0c33064bd1e4c17292
diff --git a/core/server/lib/security/password.js b/core/server/lib/security/password.js index <HASH>..<HASH> 100644 --- a/core/server/lib/security/password.js +++ b/core/server/lib/security/password.js @@ -1,3 +1,5 @@ +const Promise = require('bluebird'); + module.exports.hash = function hash(plainPassword) { co...
Fixed missing Bluebird require in `security/password.js` (#<I>) no issue
TryGhost_Ghost
train
4a6b8ba7ced6bb841000a59bdef7f9879fb6578d
diff --git a/setuptools/tests/test_dist.py b/setuptools/tests/test_dist.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_dist.py +++ b/setuptools/tests/test_dist.py @@ -263,3 +263,16 @@ def test_maintainer_author(name, attrs, tmpdir): else: line = '%s: %s' % (fkey, val) asse...
Add test capturing expectation that provides_extras are ordered.
pypa_setuptools
train
d4ec3b5dfc7fded539b22b431f380df87491caa7
diff --git a/plugins/providers/hyperv/action/read_state.rb b/plugins/providers/hyperv/action/read_state.rb index <HASH>..<HASH> 100644 --- a/plugins/providers/hyperv/action/read_state.rb +++ b/plugins/providers/hyperv/action/read_state.rb @@ -12,8 +12,15 @@ module VagrantPlugins def call(env) if env...
providers/hyperv: reset machine ID if machine deleted outside
hashicorp_vagrant
train
6a9d3f4eaa1ea67f0058c73abc8af81293b4a377
diff --git a/src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php b/src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php index <HASH>..<HASH> 100644 --- a/src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php +++ b/src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php @@ -264,8 +264,12 @@ final class ...
Undefined offset: 1 error when exception message is empty An edge case I had with an empty @expectedExceptionMessage anootation uncovered an unchecked return resulting in the undefined offset. Fix is to fall-back to empty string which also solves the fixer for me.
FriendsOfPHP_PHP-CS-Fixer
train
a148b79017dd1d930214786b670b8a80cedf5d9c
diff --git a/lib/nicorepo.rb b/lib/nicorepo.rb index <HASH>..<HASH> 100644 --- a/lib/nicorepo.rb +++ b/lib/nicorepo.rb @@ -13,6 +13,7 @@ class Nicorepo @agent = Mechanize.new @agent.ssl_version = 'SSLv3' @agent.request_headers = { 'accept-language' => 'ja-JP', 'content-language' => 'ja-JP' } + @parser...
Remove mechanize agent from Reports
upinetree_nicorepo
train
83d07d11da281b7c14a53450000cc4e6524fb4e7
diff --git a/wmi.go b/wmi.go index <HASH>..<HASH> 100644 --- a/wmi.go +++ b/wmi.go @@ -209,14 +209,22 @@ func loadEntity(dst interface{}, src *ole.IDispatch) (errFieldMismatch error) { } defer prop.Clear() - switch val := prop.Value(); reflect.ValueOf(val).Kind() { - case reflect.Int64: - iv := val.(int64) ...
Refactor type assertions to switch on type
StackExchange_wmi
train
2fa6465d19840cb78371d481f59f4e782e8f95f0
diff --git a/cutil/__init__.py b/cutil/__init__.py index <HASH>..<HASH> 100644 --- a/cutil/__init__.py +++ b/cutil/__init__.py @@ -336,7 +336,11 @@ def parse_price(price): except IndexError: # Price is 99 or less with no cents pass - found_price[key] = float(new...
Updated parse_price to ignore empty strings as high value
xtream1101_cutil
train
e31100fc3afeb1c53349b6017fa97461ca410d5a
diff --git a/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyStaticMethods.java b/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyStaticMethods.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyStaticMethods.java +++ b/src/main/java/org/codehaus/groovy/runtime/D...
remove some long deprecated methods
apache_groovy
train
5b3a3fb9e4ccf4003f69272c1d935317578362fc
diff --git a/tests/system/Database/Builder/WhereTest.php b/tests/system/Database/Builder/WhereTest.php index <HASH>..<HASH> 100644 --- a/tests/system/Database/Builder/WhereTest.php +++ b/tests/system/Database/Builder/WhereTest.php @@ -148,9 +148,7 @@ final class WhereTest extends CIUnitTestCase // Closure ...
refactor: fix rector errors
codeigniter4_CodeIgniter4
train
90f5b5d13a4f1afd54460676929d2694c7039d85
diff --git a/amazon/ion/core.py b/amazon/ion/core.py index <HASH>..<HASH> 100644 --- a/amazon/ion/core.py +++ b/amazon/ion/core.py @@ -19,7 +19,15 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function -from collections import MutableMapping, MutableSequence,...
for <I> compatibility, attempt import of abstract collections from collections.abc and then from collections (for pre <I>)
amzn_ion-python
train
c4621c00a261a58e191ebefe367288ce3edd838f
diff --git a/tests/unit/Palladium/Mapper/IdentityTest.php b/tests/unit/Palladium/Mapper/IdentityTest.php index <HASH>..<HASH> 100644 --- a/tests/unit/Palladium/Mapper/IdentityTest.php +++ b/tests/unit/Palladium/Mapper/IdentityTest.php @@ -108,4 +108,38 @@ final class IdentityTest extends TestCase $instance = n...
Test for covering case, where payload actually contains JSON
teresko_palladium
train
3d19862a7cae65457c97c8a1dfa00c82ecf5af6d
diff --git a/telemetry/telemetry/core/tab.py b/telemetry/telemetry/core/tab.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/tab.py +++ b/telemetry/telemetry/core/tab.py @@ -25,7 +25,7 @@ class Tab(web_contents.WebContents): """ def __init__(self, inspector_backend): super(Tab, self).__init__(in...
[Telemetry] Only calculate tab contents bounding box once. Cache it and use the first calculated box. This helps Speed Index be more stable and should avoid some asserts we were seeing. BUG= Review URL: <URL>
catapult-project_catapult
train
a81380d6ffee7a6c7a278b2be1741a250dd9d3c9
diff --git a/examples/specification-importer/utils.js b/examples/specification-importer/utils.js index <HASH>..<HASH> 100644 --- a/examples/specification-importer/utils.js +++ b/examples/specification-importer/utils.js @@ -9,7 +9,7 @@ var _ = require('lodash'); var unitCodesByUnitFamily = { 'Energy': [ 'WattHou...
Add pressure unit `psi` to VBus specification importer.
danielwippermann_resol-vbus
train
cdd244e68017736f8240e1e18631a1820ea1f1b5
diff --git a/lib/bigbio/db/emitters/orf_emitter.rb b/lib/bigbio/db/emitters/orf_emitter.rb index <HASH>..<HASH> 100644 --- a/lib/bigbio/db/emitters/orf_emitter.rb +++ b/lib/bigbio/db/emitters/orf_emitter.rb @@ -59,12 +59,17 @@ module Bio end def stopstop? + found?({ | codon | STOP_CODONS.include?...
Find multiple ORFs in partial sequence
pjotrp_bigbio
train
f520a015a91eb1bf2666892d3ef362607a74396f
diff --git a/src/Message/AbstractRequest.php b/src/Message/AbstractRequest.php index <HASH>..<HASH> 100644 --- a/src/Message/AbstractRequest.php +++ b/src/Message/AbstractRequest.php @@ -314,7 +314,9 @@ abstract class AbstractRequest extends \Omnipay\Common\Message\AbstractRequest public function sendData($data) ...
Add support for TLS <I> for Operating System without TLS <I> bundled by default (CentOS <I> for example)
thephpleague_omnipay-paypal
train
36627aabdfebcd7f38698cb0990ff24acc6769fc
diff --git a/src/create/aws/create-table-index/_get-global-secondary-indexes.js b/src/create/aws/create-table-index/_get-global-secondary-indexes.js index <HASH>..<HASH> 100644 --- a/src/create/aws/create-table-index/_get-global-secondary-indexes.js +++ b/src/create/aws/create-table-index/_get-global-secondary-indexes....
fix arc-repos/arc-workflows#<I>
architect_architect
train
e61b21f4c87d4df6c3b7c60e738092ef8f5f80bb
diff --git a/lib/test/ServiceTest.js b/lib/test/ServiceTest.js index <HASH>..<HASH> 100644 --- a/lib/test/ServiceTest.js +++ b/lib/test/ServiceTest.js @@ -1,5 +1,11 @@ var oo = require('@carbon-io/carbon-core').atom.oo(module) var tt = require('@carbon-io/carbon-core').testtube + +function sleep(ms, cb) { + setT...
testing if sleeping after shutdown fixes travis
carbon-io_carbond
train
b4b430776dee5cf09518b8403de1d5f6011092e0
diff --git a/pyqode/cobol/widgets/code_edit.py b/pyqode/cobol/widgets/code_edit.py index <HASH>..<HASH> 100644 --- a/pyqode/cobol/widgets/code_edit.py +++ b/pyqode/cobol/widgets/code_edit.py @@ -128,6 +128,9 @@ class CobolCodeEdit(api.CodeEdit): self.backspace_mode = self.modes.append( modes.Smart...
Add extended mode selection. Particularly useful for cobol since this mode allow to select entire word, even if there is a dash in the middle ( FOO-BAR -> FOO, - and BAR will be selected by a double click).
pyQode_pyqode.cobol
train
6145b896e2d57652804cb25400484043582976a1
diff --git a/src/services/popup.js b/src/services/popup.js index <HASH>..<HASH> 100644 --- a/src/services/popup.js +++ b/src/services/popup.js @@ -80,7 +80,9 @@ ngeo.Popup.prototype.setTitle = function(title) { /** * Set the popup's content. - * @param {string} content The content. + * Note: the type of the `conte...
Change param type for ngeo.Popup#setContent
camptocamp_ngeo
train
ecbbf7a2eae12d6a1fbd78e7f77aa72dddebbf3a
diff --git a/validator/sawtooth_validator/consensus/proxy.py b/validator/sawtooth_validator/consensus/proxy.py index <HASH>..<HASH> 100644 --- a/validator/sawtooth_validator/consensus/proxy.py +++ b/validator/sawtooth_validator/consensus/proxy.py @@ -137,12 +137,12 @@ class ConsensusProxy: result = [] ...
Fix consensus proxy for settings_get unused variable
hyperledger_sawtooth-core
train
98ff98e2b3d535f2f9fe70f8778a092a19463442
diff --git a/src/Controller/Controller.php b/src/Controller/Controller.php index <HASH>..<HASH> 100644 --- a/src/Controller/Controller.php +++ b/src/Controller/Controller.php @@ -173,6 +173,24 @@ class Controller implements EventListener { public $viewClass = 'Cake\View\View'; /** + * The path to this controllers ...
Add missing property to Controller. This property was lost in the shuffle but should exist on Controller, as it is modified by methods like setRequest().
cakephp_cakephp
train
0fe3b345153d3e614f33ada538632b6c66f9222a
diff --git a/lib/natural/inflectors/noun_inflector.js b/lib/natural/inflectors/noun_inflector.js index <HASH>..<HASH> 100755 --- a/lib/natural/inflectors/noun_inflector.js +++ b/lib/natural/inflectors/noun_inflector.js @@ -61,6 +61,7 @@ var NounInflector = function() { this.addIrregular("foot", "feet"); this....
corrected some plural forms support for tornadoes, ephemerides and cortices nouns
NaturalNode_natural
train
6171e078c8fdd2250e331f1c225db2b4e3be8809
diff --git a/processing/src/main/java/io/druid/query/dimension/LookupDimensionSpec.java b/processing/src/main/java/io/druid/query/dimension/LookupDimensionSpec.java index <HASH>..<HASH> 100644 --- a/processing/src/main/java/io/druid/query/dimension/LookupDimensionSpec.java +++ b/processing/src/main/java/io/druid/query/...
Improve NPE message in LookupDimensionSpec when lookup does not exist. (#<I>) The message used to be empty, which made things hard to debug.
apache_incubator-druid
train
99c62543798608506fad776d62297eaab7c1f16b
diff --git a/spec/signore/executable/settings_spec.rb b/spec/signore/executable/settings_spec.rb index <HASH>..<HASH> 100644 --- a/spec/signore/executable/settings_spec.rb +++ b/spec/signore/executable/settings_spec.rb @@ -3,6 +3,12 @@ require_relative '../../spec_helper' require_relative '../../../lib/signore/executa...
spec Executable::Settings#action
chastell_signore
train
9cb181e9fff00340b25510ab859ff8641371965a
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -3582,9 +3582,6 @@ class SquareSet(object): def symmetric_difference(self, other): return self ^ other - def copy(self): - return type(self)(self.mask) - def u...
SquareSet should not be hashable
niklasf_python-chess
train
ff67b5ba849e55f2bfa70e1665038e856e7ebd42
diff --git a/forms/DropdownField.php b/forms/DropdownField.php index <HASH>..<HASH> 100644 --- a/forms/DropdownField.php +++ b/forms/DropdownField.php @@ -13,8 +13,8 @@ * * public function getCMSFields() { * $fields = parent::getCMSFields(); - * $field = DropdownField::create('GalleryID', 'Gallery', Gallery...
Update DropdownField.php Update to DropdownField::create, and in one instance set the Empty Title on the instantiation, rather than afterwards.
silverstripe_silverstripe-framework
train
6c93b8a74cd75709484642b0dd281ce25df19b66
diff --git a/test/test_plotting.py b/test/test_plotting.py index <HASH>..<HASH> 100644 --- a/test/test_plotting.py +++ b/test/test_plotting.py @@ -12,25 +12,43 @@ import networkx as nx import pandas as pd import matplotlib.pyplot as plt +try: + import cartopy + cartopy_present = True +except ImportError as e:...
test_plotting: skip tests if cartopy not present
PyPSA_PyPSA
train
3405b606f9262656ddb8a26fca3cd528ffa7d83c
diff --git a/growler/http/responder.py b/growler/http/responder.py index <HASH>..<HASH> 100644 --- a/growler/http/responder.py +++ b/growler/http/responder.py @@ -5,12 +5,14 @@ The Growler class responsible for responding to HTTP requests. """ -import asyncio - from .parser import Parser from .request import HTTP...
Fixed some incorrect error names in Responder
pyGrowler_Growler
train
bd68d7ea7656ba4d3098a62cf16c52faa46b2a9c
diff --git a/_config/config-default.js b/_config/config-default.js index <HASH>..<HASH> 100644 --- a/_config/config-default.js +++ b/_config/config-default.js @@ -10,7 +10,9 @@ */ // Resolve the path to the validation module, via xtc's lib/configure.js -var check = require(require('path').join(module.parent.filena...
Fix another hardcoded forward slash that could bite us on Windows.
MarcDiethelm_xtc
train
d0647ad6a44d1a0785f29f40bd30412f8592e291
diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/tunnel/RestrictedGuacamoleTunnelService.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/tunnel/RestrictedGuacamoleTunnelService.ja...
GUACAMOLE-<I>: Initial stab at a WLC algorithm.
glyptodon_guacamole-client
train
46ddfd1c9f3efa57a171287719c44216020ca3be
diff --git a/lib/commands/run.js b/lib/commands/run.js index <HASH>..<HASH> 100644 --- a/lib/commands/run.js +++ b/lib/commands/run.js @@ -99,7 +99,9 @@ function run(scriptPath, options) { context.script.config.payload = results; return callback(null, context); }); - } else if ...
Warn if payload file not set on the command line
artilleryio_artillery
train
1598a02508305c9b42442742318d3995687812b3
diff --git a/src-setup/org/opencms/setup/CmsUpdateBean.java b/src-setup/org/opencms/setup/CmsUpdateBean.java index <HASH>..<HASH> 100644 --- a/src-setup/org/opencms/setup/CmsUpdateBean.java +++ b/src-setup/org/opencms/setup/CmsUpdateBean.java @@ -882,28 +882,33 @@ public class CmsUpdateBean extends CmsSetupBean { ...
Fixing issue where obsolete modules where not deleted during the update.
alkacon_opencms-core
train
2814efad6bfc967e9522fed86b5112bc8e9076d7
diff --git a/lib/hipbot/adapters/hipchat/initializer.rb b/lib/hipbot/adapters/hipchat/initializer.rb index <HASH>..<HASH> 100644 --- a/lib/hipbot/adapters/hipchat/initializer.rb +++ b/lib/hipbot/adapters/hipchat/initializer.rb @@ -53,7 +53,7 @@ module Hipbot end def clean_other_objects klass, object...
add "all" method to hash storage
pewniak747_hipbot
train
6886d87cff3035b2e021cc141b7890e248f25920
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -57,14 +57,14 @@ async function resolveAsDirectory(request: string, parent: string, config: Confi async function resolveModulePath(request: string, parent: string, config: Config): Promise<string> { const c...
:new: Use Set instead of Array for packageRoots
steelbrain_resolve
train
fef678fe9bd7f285967a0e68c8109999e187a66b
diff --git a/edisgo/edisgo.py b/edisgo/edisgo.py index <HASH>..<HASH> 100755 --- a/edisgo/edisgo.py +++ b/edisgo/edisgo.py @@ -823,13 +823,22 @@ class EDisGo: "be set as active power time series was not provided." ) else: - ...
Bug fix - do not overwrite other reactive power time series
openego_eDisGo
train
84a791bfdcf8220ea7c603faec281e1ec93c3dc0
diff --git a/salt/client/ssh/shell.py b/salt/client/ssh/shell.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/shell.py +++ b/salt/client/ssh/shell.py @@ -6,6 +6,7 @@ Manage transport commands via ssh # Import python libs import re import os +import json import time import logging import subprocess @@ -313,52...
VT now consumes all of it's data when looping using it's `has_unread_data` attribute
saltstack_salt
train
a63d12f1c5df036f818274706d098bad30cbb044
diff --git a/src/main/java/com/authlete/jaxrs/BaseEndpoint.java b/src/main/java/com/authlete/jaxrs/BaseEndpoint.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/authlete/jaxrs/BaseEndpoint.java +++ b/src/main/java/com/authlete/jaxrs/BaseEndpoint.java @@ -17,8 +17,16 @@ package com.authlete.jaxrs; +import j...
abstracted certificate extraction to base endpoint
authlete_authlete-java-jaxrs
train
71c40d15e12405987fda3f1580522eba582fa2dc
diff --git a/lib/hasu/window.rb b/lib/hasu/window.rb index <HASH>..<HASH> 100644 --- a/lib/hasu/window.rb +++ b/lib/hasu/window.rb @@ -15,7 +15,7 @@ module Hasu def initialize(*) super - reset + reset unless Hasu.error end def self.run
Don't reset during initialization if there's a Hasu error
michaelfairley_hasu
train
eb2dee4bbc7c43ed85cf25945480dd4d375b28fa
diff --git a/src/ChangeStream.php b/src/ChangeStream.php index <HASH>..<HASH> 100644 --- a/src/ChangeStream.php +++ b/src/ChangeStream.php @@ -117,7 +117,26 @@ class ChangeStream implements Iterator */ public function rewind() { - $this->csIt->rewind(); + $resumable = false; + try {...
PHPLIB-<I>: Add resume logic to ChangeStream::rewind()
mongodb_mongo-php-library
train
4ae7c9616e9194d8d49d90de63e0c3fce3135b94
diff --git a/src/main/java/org/craftercms/core/service/impl/ContentStoreServiceImpl.java b/src/main/java/org/craftercms/core/service/impl/ContentStoreServiceImpl.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/craftercms/core/service/impl/ContentStoreServiceImpl.java +++ b/src/main/java/org/craftercms/core/ser...
Improve logging for blob stores
craftercms_core
train
2ac6a23fa755d7fa5770aabaf3b5878ea8e0a325
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setup( name='pyfmg', - version='0.7.5', + version='0.8.01', packages=find_packages(), url='https://github.com/p4r4n0y1ng/pyfmg', license='Apache 2.0'...
Modified version to <I> for submission to pypi
p4r4n0y1ng_pyfmg
train
34dcf968a9c9b4a3653049bd702f451ea1812fdf
diff --git a/src/bosh-director/lib/bosh/director/errand/instance_group_manager.rb b/src/bosh-director/lib/bosh/director/errand/instance_group_manager.rb index <HASH>..<HASH> 100644 --- a/src/bosh-director/lib/bosh/director/errand/instance_group_manager.rb +++ b/src/bosh-director/lib/bosh/director/errand/instance_group_...
Pass in instance_model as expected for unmounts * Previously took instance plans [#<I>](<URL>)
cloudfoundry_bosh
train
6dc2199d8085e2de87046b7b56bacdcf5914db25
diff --git a/doc/source/whatsnew/v0.15.1.txt b/doc/source/whatsnew/v0.15.1.txt index <HASH>..<HASH> 100644 --- a/doc/source/whatsnew/v0.15.1.txt +++ b/doc/source/whatsnew/v0.15.1.txt @@ -118,7 +118,8 @@ Bug Fixes -- Bug in numeric index operations of add/sub with Float/Index Index with numpy arrays (:issue:`8608`...
BUG: Bug in setitem with empty indexer and unwanted coercion of dtypes (GH<I>)
pandas-dev_pandas
train
35c9e753f4b6d6a77255e638e05cb1214d0c0cb1
diff --git a/modules/backend/widgets/Table.php b/modules/backend/widgets/Table.php index <HASH>..<HASH> 100644 --- a/modules/backend/widgets/Table.php +++ b/modules/backend/widgets/Table.php @@ -158,6 +158,14 @@ class Table extends WidgetBase $option = trans($option); } + ...
Table validation messages are translatable now. Fixed a bug where clicking a checkbox in a table row doesn't change its status.
octobercms_october
train
25ac7f1f3b2e56fdf85ffa444d25a2a28ad0d640
diff --git a/pypuppetdb/api.py b/pypuppetdb/api.py index <HASH>..<HASH> 100644 --- a/pypuppetdb/api.py +++ b/pypuppetdb/api.py @@ -424,7 +424,7 @@ class BaseAPI(object): "command": command, "version": COMMAND_VERSION[command], "certname": payload['certname'], - "checksu...
Add #nosec to sha1 line - erroneous bandit error
voxpupuli_pypuppetdb
train
37cbb2b07ceceb7cb8976ed9379a9b1886af2d97
diff --git a/sdl/endian.go b/sdl/endian.go index <HASH>..<HASH> 100644 --- a/sdl/endian.go +++ b/sdl/endian.go @@ -4,6 +4,7 @@ package sdl import "C" const ( + BYTEORDER = C.SDL_BYTEORDER LIL_ENDIAN = C.SDL_LIL_ENDIAN BIG_ENDIAN = C.SDL_BIG_ENDIAN )
sdl: endian: Add BYTEORDER
veandco_go-sdl2
train
2aa859796a2506cf19f70f7caed0ada2cdedf0aa
diff --git a/lib/query/model_with.js b/lib/query/model_with.js index <HASH>..<HASH> 100644 --- a/lib/query/model_with.js +++ b/lib/query/model_with.js @@ -127,6 +127,7 @@ module.exports = Mixin.create(/** @lends ModelQuery# */ { * @private * @return {String} Relation key path. */ + // TODO: update docs (in...
Removed code that is not needed.
wbyoung_azul
train
a4c9341232885292e4e9aa55b6449fcea9aa7144
diff --git a/tests/TestCase/Validation/ValidationTest.php b/tests/TestCase/Validation/ValidationTest.php index <HASH>..<HASH> 100644 --- a/tests/TestCase/Validation/ValidationTest.php +++ b/tests/TestCase/Validation/ValidationTest.php @@ -83,6 +83,8 @@ class ValidationTest extends TestCase $this->assertTrue(Va...
Failing test to prove there's a problem
cakephp_cakephp
train
b4b1acbdc9bcb40930ae65e40ed53c5469e9a180
diff --git a/pgpy/packet/packets.py b/pgpy/packet/packets.py index <HASH>..<HASH> 100644 --- a/pgpy/packet/packets.py +++ b/pgpy/packet/packets.py @@ -12,6 +12,11 @@ def PGPPacket(packetblob): if header.tag == Header.Tag.Signature: return Signature(packetblob) + if header.tag == Header.Tag.PubKey: + ...
added PubKey to the PGPPacket factory; added stub for class PubKey(Packet)
SecurityInnovation_PGPy
train
04e6b46371d43315408a53bfd49141aae26be808
diff --git a/clusterlensing/clusters/cofm.py b/clusterlensing/clusters/cofm.py index <HASH>..<HASH> 100644 --- a/clusterlensing/clusters/cofm.py +++ b/clusterlensing/clusters/cofm.py @@ -11,11 +11,10 @@ from astropy.cosmology import Planck13 as cosmo h = cosmo.h Om_M = cosmo.Om0 Om_L = 1. - Om_M -H0 = (100. * h) * 1...
update docstrings with keyword params
jesford_cluster-lensing
train
27dcd3375154177aff90fd37b1e3833e137c1883
diff --git a/src/main/java/stormpot/whirlpool/Request.java b/src/main/java/stormpot/whirlpool/Request.java index <HASH>..<HASH> 100644 --- a/src/main/java/stormpot/whirlpool/Request.java +++ b/src/main/java/stormpot/whirlpool/Request.java @@ -1,9 +1,10 @@ package stormpot.whirlpool; public class Request { + privat...
Request.get must return existing object.
chrisvest_stormpot
train
ebd5591e365e77278ba74c359533ffcfa9768be8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,9 @@ """setup.py file.""" -import uuid - from setuptools import setup, find_packages -from pip.req import parse_requirements - +with open("requirements.txt", "r") as fs: + reqs = [r for r in fs.read().splitline...
Fix setup.py issue when using pip <I>. (#<I>) Fixes #<I> pip<I> compatibility issue
napalm-automation_napalm
train
b3d7665d4b5892642df445232af0e557a047f5f3
diff --git a/wfe2/wfe.go b/wfe2/wfe.go index <HASH>..<HASH> 100644 --- a/wfe2/wfe.go +++ b/wfe2/wfe.go @@ -1617,17 +1617,6 @@ func (wfe *WebFrontEndImpl) finalizeOrder( return } - // The account must have agreed to the subscriber agreement to finalize an - // order since it will result in the issuance of a certi...
WFE2: Remove secondary ToS check. (#<I>) `terms-of-service-agreed` is checked at initial signup and doesn't need to be rechecked. Worse, since the V2 registration only accepts a bool the "Agreement" field is never set and checking it against != "" will always fail for v2 accounts. This was already done for Pebbl...
letsencrypt_boulder
train
1f1f7dab833a9c2fb2939e71e2f47995f52736a4
diff --git a/test/__init__.py b/test/__init__.py index <HASH>..<HASH> 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -107,7 +107,8 @@ class TestEnvironment(object): def setup_sync_cx(self): """Get a synchronous PyMongo MongoClient and determine SSL config.""" - connectTimeoutMS = socketT...
More quickly determine if mongod is running SSL.
mongodb_motor
train
6cc6c8e0dec4e814c1a2c668ccbca08cf6fd08a7
diff --git a/script/build-table.js b/script/build-table.js index <HASH>..<HASH> 100644 --- a/script/build-table.js +++ b/script/build-table.js @@ -1,12 +1,17 @@ +/** + * @typedef {import('mdast').Root} Root + * @typedef {import('mdast').TableRow} TableRow + */ + import {headingRange} from 'mdast-util-heading-range' i...
Fix internal types for changes in `@types/unist`
retextjs_retext-equality
train
7b206e61e6a72afe3faa5420ba90b1ff0d1da26b
diff --git a/source/object.js b/source/object.js index <HASH>..<HASH> 100644 --- a/source/object.js +++ b/source/object.js @@ -10,30 +10,44 @@ * The array of key-value pairs to be mapped. * * @param {Object} [options] - * - {Number} [depth=0] + * - {Number} [depth=1] * The depth to which the `array`'s pai...
Change meaning of `options.depth` in asObject
architectcodes_as
train
b8572849a98639ca3c0abd997198e3f2a34f8dd4
diff --git a/drivers/i2c/ina3221_driver_test.go b/drivers/i2c/ina3221_driver_test.go index <HASH>..<HASH> 100644 --- a/drivers/i2c/ina3221_driver_test.go +++ b/drivers/i2c/ina3221_driver_test.go @@ -4,6 +4,7 @@ import ( "testing" "errors" + "gobot.io/x/gobot" "gobot.io/x/gobot/gobottest" ) @@ -55,3 +56,111 @...
i2c: increase test coverage for INA<I>Driver
hybridgroup_gobot
train
5d241fd1b5d708abe96a93b73971ffc47f1de236
diff --git a/pyicloud/base.py b/pyicloud/base.py index <HASH>..<HASH> 100644 --- a/pyicloud/base.py +++ b/pyicloud/base.py @@ -57,7 +57,6 @@ class PyiCloudService(object): self.session = requests.Session() self.session.verify = verify self.session.headers.update({ - 'Host': 'setup....
Don't set Host header manually It's taken care of by the requests module, based on the url we're posting to, so no need to juggle the host header ourselves.
picklepete_pyicloud
train
953db2b39d85c6cec1fe75b407e7f98650d280f8
diff --git a/src/js/bootstrap-datetimepicker.js b/src/js/bootstrap-datetimepicker.js index <HASH>..<HASH> 100644 --- a/src/js/bootstrap-datetimepicker.js +++ b/src/js/bootstrap-datetimepicker.js @@ -2376,6 +2376,7 @@ options = options || {}; var args = Array.prototype.slice.call(arguments, 1), + ...
fixed issue where wrong jQuery object could be returned if multiple elements were selected
Eonasdan_bootstrap-datetimepicker
train
36069bf7679c1c2965a0dfd72d34836de7a9f94f
diff --git a/restclients/models/grad.py b/restclients/models/grad.py index <HASH>..<HASH> 100644 --- a/restclients/models/grad.py +++ b/restclients/models/grad.py @@ -1,10 +1,11 @@ +import datetime from django.db import models def get_datetime_str(datetime_obj): if datetime_obj is None: return None ...
fix a bug in the json_data function of GradLeave class - a datetime object didn't convert to a string.
uw-it-aca_uw-restclients
train
a15e1ff0b1766db3cf47c25bfe006c7c5c2b8089
diff --git a/README b/README index <HASH>..<HASH> 100644 --- a/README +++ b/README @@ -91,6 +91,8 @@ Currently Supported Actions * Logoff * ListCategories * ListCommands +* MailboxCount +* MailboxStatus * Originate * Redirect * Reload diff --git a/docs/examples/quickstart/example.php b/docs/examples/quickstart/ex...
added mailboxcount and mailboxstatus actions
marcelog_PAMI
train
33a9b5aae46706eabd5728bf0fe9c3e1f58366fe
diff --git a/h2quic/client.go b/h2quic/client.go index <HASH>..<HASH> 100644 --- a/h2quic/client.go +++ b/h2quic/client.go @@ -24,7 +24,8 @@ import ( type Client struct { mutex sync.RWMutex - config *quic.Config + dialAddr func(hostname string, config *quic.Config) (quic.Session, error) + config *quic.Config ...
add more tests for Dial in the h2quic client
lucas-clemente_quic-go
train
4fd7a6ca7339bcbbfa6feda266dcca96684b81c6
diff --git a/lib/rules/key-spacing.js b/lib/rules/key-spacing.js index <HASH>..<HASH> 100644 --- a/lib/rules/key-spacing.js +++ b/lib/rules/key-spacing.js @@ -427,19 +427,7 @@ module.exports = { * @returns {void} */ function report(property, side, whitespace, expected, mode) { - ...
perf: don't prepare a fix for valid code in key-spacing (#<I>)
eslint_eslint
train
223f2b8912b857ca9505a6447876dbaf6d323d9a
diff --git a/ChangeLog b/ChangeLog index <HASH>..<HASH> 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ * Button * Div * Span + * Table * Selenium support for using index for the following elements: * Link * TextField @@ -22,6 +23,7 @@ * Button * Div * Span + * ...
multiple identifiers and index for Table with Selenium
cheezy_page-object
train
238f3af4bda818b8ec7de4c798299396c724b9ce
diff --git a/search/highlighter_simple.go b/search/highlighter_simple.go index <HASH>..<HASH> 100644 --- a/search/highlighter_simple.go +++ b/search/highlighter_simple.go @@ -106,6 +106,11 @@ OUTER: formattedFragments[i] = s.sep + s.formatter.Format(fragment, dm.Locations[field]) + s.sep } + if dm.Fragments == n...
change higlight api to store in document match
blevesearch_bleve
train
565a8a47d867be751ccea09805ba776869e3e35d
diff --git a/assets/service_broker/run_all_cases.rb b/assets/service_broker/run_all_cases.rb index <HASH>..<HASH> 100644 --- a/assets/service_broker/run_all_cases.rb +++ b/assets/service_broker/run_all_cases.rb @@ -6,6 +6,8 @@ require 'benchmark' require 'securerandom' require 'optparse' +DEFAULT_BROKER_URL = 'http...
Properly clean up service instances for acceptance tests [fixes #<I>]
cloudfoundry_cf-acceptance-tests
train