hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
5f00ca4a915300cd843230348a9f90b25b2902a6
diff --git a/fluent/fluent_test.go b/fluent/fluent_test.go index <HASH>..<HASH> 100644 --- a/fluent/fluent_test.go +++ b/fluent/fluent_test.go @@ -137,6 +137,28 @@ func Test_send_WritePendingToConn(t *testing.T) { } } +func Test_EncodeAndPOSTAsJSON(t *testing.T) { + f := &Fluent{Config: Config{MarshalAsJSON: true}...
test: Add test case for MarshalAsJSON
fluent_fluent-logger-golang
train
0d9b8695833d6095f3fa6c2853464071f2a64191
diff --git a/examples/client.go b/examples/client.go index <HASH>..<HASH> 100644 --- a/examples/client.go +++ b/examples/client.go @@ -282,7 +282,12 @@ func main() { } currInstances := int32(len(live)) fmt.Println("Current num of instances: ", currInstances) - resp, err := r.AddInstances(aurora.InstanceKey{jo...
Updating the client to not use instanceId 0 by default, instead get the instanceId from the list of active Instances
paypal_gorealis
train
41d9d39dcabf7bb2e61dd3f1e1aa68a2147655bc
diff --git a/src/engines/class-twig-engine.php b/src/engines/class-twig-engine.php index <HASH>..<HASH> 100644 --- a/src/engines/class-twig-engine.php +++ b/src/engines/class-twig-engine.php @@ -89,7 +89,7 @@ class Twig_Engine extends Engine { 'base_template_class' => 'Twig_Template', 'cache' ...
Turn on Twig debug if WP_ENV is development
wpup_digster
train
bfc2340a3d70f4e4341f907f1ded46b26a1534f6
diff --git a/Indexer/DoctrineQbIndexer.php b/Indexer/DoctrineQbIndexer.php index <HASH>..<HASH> 100644 --- a/Indexer/DoctrineQbIndexer.php +++ b/Indexer/DoctrineQbIndexer.php @@ -22,26 +22,15 @@ abstract class DoctrineQbIndexer implements IndexerInterface public function getRangeCriterias() { - //TOD...
Increase performance of doctrine indexer a lot
Koc_Sphinxy
train
a45a221bb72763707e6a553ce825409e591eadec
diff --git a/core/src/main/java/org/web3j/tx/Contract.java b/core/src/main/java/org/web3j/tx/Contract.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/web3j/tx/Contract.java +++ b/core/src/main/java/org/web3j/tx/Contract.java @@ -49,6 +49,7 @@ import org.web3j.tx.exceptions.ContractCallException; import o...
check whether receipt is instanceof EmptyTransactionReceipt
web3j_web3j
train
7506644c7dd6b81d93181796577913a166c32675
diff --git a/django_extensions/tests/__init__.py b/django_extensions/tests/__init__.py index <HASH>..<HASH> 100644 --- a/django_extensions/tests/__init__.py +++ b/django_extensions/tests/__init__.py @@ -1,7 +1,10 @@ from django.db import models from django_extensions.tests.utils import UTILS_TESTS -from django_extens...
Resolve issue #<I>: omit tests if keyczar is not installed
django-extensions_django-extensions
train
db11e3f7fb1de0c05644313eb20b9cb1d8d751de
diff --git a/src/properties/class-papi-property-relationship.php b/src/properties/class-papi-property-relationship.php index <HASH>..<HASH> 100644 --- a/src/properties/class-papi-property-relationship.php +++ b/src/properties/class-papi-property-relationship.php @@ -284,7 +284,7 @@ class Papi_Property_Relationship exte...
Add title tag to relationship list for custom data
wp-papi_papi
train
bd28493af5d50750982a926fbe649cab23bc8b32
diff --git a/lib/node_modules/@stdlib/math/base/dist/beta/mgf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/dist/beta/mgf/benchmark/benchmark.js index <HASH>..<HASH> 100644 --- a/lib/node_modules/@stdlib/math/base/dist/beta/mgf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/math/base/dist/beta/mgf/...
Remove epsilon adjustment
stdlib-js_stdlib
train
6e288036d61415c7afdabfd137cf33e2b1b3fb6c
diff --git a/liquibase-core/src/main/java/liquibase/diff/output/changelog/AbstractChangeGenerator.java b/liquibase-core/src/main/java/liquibase/diff/output/changelog/AbstractChangeGenerator.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/diff/output/changelog/AbstractChangeGenerator.java +...
Fixed bug with schemaOutputAs option
liquibase_liquibase
train
b24947fc98ed5827260502a1455fd3019afcb81a
diff --git a/instabot/bot/bot_get.py b/instabot/bot/bot_get.py index <HASH>..<HASH> 100644 --- a/instabot/bot/bot_get.py +++ b/instabot/bot/bot_get.py @@ -88,13 +88,13 @@ def get_user_info(self, user_id): def get_user_followers(self, user_id): user_id = self.convert_to_user_id(user_id) followers = self.getTo...
fix issue with accounts with no followers/following
instagrambot_instabot
train
1ced24f5d924ec007a8c04c17676788452f046fd
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ setup(name='moi', test_suite='nose.collector', packages=['moi'], extras_require={'test': ["nose >= 0.10.1", "pep8", 'mock']}, - install_requires=['future==0.13.0', 'tornado==3.1.1', 'to...
Remove 'future' package version constraint
biocore_mustached-octo-ironman
train
4911f8adbe90f5ed886f30fa69f46f742352bd35
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -68,6 +68,9 @@ LOGGER.setLevel(logging.WARNING) if sys.version_info[0] < 3: reload(sys) # noqa: F821 sys.setde...
Update code for Shadow DOM changes in Chromium <I>+
seleniumbase_SeleniumBase
train
fb1620b61d140f9f8fcdadb15c7bc29ff8a34758
diff --git a/src/xworkflows/base.py b/src/xworkflows/base.py index <HASH>..<HASH> 100644 --- a/src/xworkflows/base.py +++ b/src/xworkflows/base.py @@ -563,18 +563,18 @@ class Workflow(object): if state_field: self.state_field = state_field - def log_transition(self, transition, from_state, ob...
Better argument naming when logging transitions.
rbarrois_xworkflows
train
f1c4cc087e8db6f773954f888462d2a27646b81b
diff --git a/safe/storage/test_vector.py b/safe/storage/test_vector.py index <HASH>..<HASH> 100644 --- a/safe/storage/test_vector.py +++ b/safe/storage/test_vector.py @@ -1,5 +1,5 @@ -"""**Tests for safe vector layer class** -""" +# coding=utf-8 +"""**Tests for safe vector layer class**""" __author__ = 'Tim Sutton <...
Test cleanups in test_vector
inasafe_inasafe
train
b2183c8060e0a070d72fb1f6441094297a6aa817
diff --git a/lib/dm-core/query.rb b/lib/dm-core/query.rb index <HASH>..<HASH> 100644 --- a/lib/dm-core/query.rb +++ b/lib/dm-core/query.rb @@ -782,10 +782,6 @@ module DataMapper def assert_valid_fields(fields, unique) assert_kind_of 'options[:fields]', fields, Array - if fields.empty? && unique == fa...
Removed unecessary assertion when validating Query#fields * This test causes conflicts with unioned Collections, and is invalid since it is perfectly reasonable to count on a Collection where Query#unique == false. [#<I>]
datamapper_dm-core
train
8a0776e234d8febb05af7943bedc2203c151a4b8
diff --git a/adapter/ffmpeg_animated_gif.php b/adapter/ffmpeg_animated_gif.php index <HASH>..<HASH> 100644 --- a/adapter/ffmpeg_animated_gif.php +++ b/adapter/ffmpeg_animated_gif.php @@ -9,7 +9,7 @@ class ffmpeg_animated_gif { public function addFrame(ffmpeg_frame $frame) { $this->adaptee->addFrame(...
Fixes according to the unit test results
char0n_ffmpeg-php
train
f09625c9928a7addb3abd491d01f4992f011b45e
diff --git a/lib/gimli/markup.rb b/lib/gimli/markup.rb index <HASH>..<HASH> 100644 --- a/lib/gimli/markup.rb +++ b/lib/gimli/markup.rb @@ -44,7 +44,8 @@ module Gimli data = extract_code(@data.dup) data = extract_tags(data) begin - data = GitHub::Markup.render(@filename, data.force_encoding('...
Check for force_encoding before using it because of <I>
walle_gimli
train
7b46bb3fa7eea4ee58508a96e1b4378752315635
diff --git a/osmnx/footprints.py b/osmnx/footprints.py index <HASH>..<HASH> 100644 --- a/osmnx/footprints.py +++ b/osmnx/footprints.py @@ -142,8 +142,8 @@ def osm_footprints_download(polygon=None, north=None, south=None, east=None, wes return response_jsons -def create_footprints_gdf(polygon=None, north=None, ...
moving responses argument to end of function call
gboeing_osmnx
train
d30cb3e3ea40cdd9328487524658a7c5df6c6a04
diff --git a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/async/AsyncBeanRemote.java b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/async/AsyncBeanRemote.java index <HASH>..<HASH> 100644 --- a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integ...
Adding remote client async test which waits for returning a value
wildfly_wildfly
train
b497988b619607f28b43947e4ab75c2d9920e151
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ setup( "python-dateutil", "pytz", "scipy", - "tidy_headers", + "tidy_headers>=0.3.0", ], extras_require={ "docs": ["sphinx-gallery==0.1.12"],
Pin version of tidyheaders to avoid import issues (#<I>)
wright-group_WrightTools
train
3cb4def56378232927242705485428a19a108271
diff --git a/agent/consul/auto_encrypt_endpoint.go b/agent/consul/auto_encrypt_endpoint.go index <HASH>..<HASH> 100644 --- a/agent/consul/auto_encrypt_endpoint.go +++ b/agent/consul/auto_encrypt_endpoint.go @@ -35,6 +35,9 @@ func (a *AutoEncrypt) Sign( rootsArgs := structs.DCSpecificRequest{Datacenter: args.Datacente...
auto_encrypt: check previously ignored error (#<I>)
hashicorp_consul
train
a9e15c187c4795622058b17bbd8b8ce147394ab9
diff --git a/src/jdataview.js b/src/jdataview.js index <HASH>..<HASH> 100644 --- a/src/jdataview.js +++ b/src/jdataview.js @@ -496,6 +496,8 @@ jDataView.prototype = { setBytes: function (byteOffset, bytes, littleEndian) { var length = bytes.length; + if (length === 0) return; + // Handle the lack of endianne...
Opera throws RangeError: Offset larger than array size if trying to create Uint8Array view with zero length.
jDataView_jDataView
train
2fbb36bd0434f28636b47891eb3db52306afc707
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java index <HASH>..<HASH> 100644 --- a/s...
fixup! Upgrade to Flyway <I>
spring-projects_spring-boot
train
639cb48fbc575f73d73c3b02eb3c2512052caebb
diff --git a/tests/functional/WebDriverActionsTest.php b/tests/functional/WebDriverActionsTest.php index <HASH>..<HASH> 100644 --- a/tests/functional/WebDriverActionsTest.php +++ b/tests/functional/WebDriverActionsTest.php @@ -121,6 +121,9 @@ class WebDriverActionsTest extends WebDriverTestCase $this->assertCo...
Exclude skipped tests on SauceLabs
facebook_php-webdriver
train
61cfa6e0c6db4ce648183f5602422e4bd7bd5081
diff --git a/app/models/alchemy/page.rb b/app/models/alchemy/page.rb index <HASH>..<HASH> 100644 --- a/app/models/alchemy/page.rb +++ b/app/models/alchemy/page.rb @@ -356,7 +356,7 @@ module Alchemy .where(["#{self.class.table_name}.lft #{dir} ?", lft]) .where(public: options[:public]) .where(...
fix Page#previous_page because of a faulty ordering it was always displaying the first, not the previous page
AlchemyCMS_alchemy_cms
train
7bf2bff55b3c471f19dd4feb9f48370982e66401
diff --git a/src/client/pps.go b/src/client/pps.go index <HASH>..<HASH> 100644 --- a/src/client/pps.go +++ b/src/client/pps.go @@ -35,6 +35,8 @@ var ( Incrementality: false, } + DefaultStrategy = MapStrategy + StrategyAliasMap = map[string]*pps.Strategy{ "map": MapStrategy, "reduce": ...
Use default strategy (which is map for now) if strategy is not specified
pachyderm_pachyderm
train
956d1eb0e774910ee8ebc4cd8a16c1a6cabb0344
diff --git a/tasks/buster/cmd.js b/tasks/buster/cmd.js index <HASH>..<HASH> 100644 --- a/tasks/buster/cmd.js +++ b/tasks/buster/cmd.js @@ -3,9 +3,9 @@ var grunt = require('grunt'); var when = require('when'); var resolveBin = require('resolve-bin'); -exports.run = function (module, cmd, args, callback) { +exports.r...
better name - `module` is a global
busterjs_grunt-buster
train
faf7aac940251f4538fe1cc71ab0db10ed43cef5
diff --git a/core/commands/name/ipns.go b/core/commands/name/ipns.go index <HASH>..<HASH> 100644 --- a/core/commands/name/ipns.go +++ b/core/commands/name/ipns.go @@ -2,6 +2,7 @@ package name import ( "errors" + "fmt" "io" "strings" "time" @@ -16,7 +17,6 @@ import ( "gx/ipfs/QmSP88ryZkHSRn1fnngAaV2Vcn63WUJ...
cmds: go fmt and minor cleanup License: MIT
ipfs_go-ipfs
train
69499efe08d29030cc47842bf2a214ca2de4edc5
diff --git a/build/build.go b/build/build.go index <HASH>..<HASH> 100644 --- a/build/build.go +++ b/build/build.go @@ -14,6 +14,7 @@ import ( "os/exec" "path" "path/filepath" + "runtime" "strconv" "strings" "time" @@ -66,8 +67,8 @@ func Import(path string, mode build.ImportMode, installSuffix string, buildT...
build: Use system default GOARCH, ignore GOARCH env var. This way, when GOARCH env var is set to js, the syscall package continues to build successfully. Remove special case for runtime package. There was no comment justifying why it needs to be special, I tried removing the special case and it seems to work. Helps ...
gopherjs_gopherjs
train
bfc2bf5acca8c5a509bf85221a2874caf58dc56b
diff --git a/libraries/joomla/log/loggers/callback.php b/libraries/joomla/log/loggers/callback.php index <HASH>..<HASH> 100644 --- a/libraries/joomla/log/loggers/callback.php +++ b/libraries/joomla/log/loggers/callback.php @@ -15,7 +15,7 @@ jimport('joomla.log.logger'); * Joomla! Callback Log class * * This class...
Throw an exception if there is not a valid callback.
joomla_joomla-framework
train
75ccb9040705a7549e7e7c7a61f145ad2bb2ecf7
diff --git a/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go b/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go index <HASH>..<HASH> 100644 --- a/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go +++ b/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go @@ -330,11 +330,1...
Fast return when no any matched anti-affinity terms When check the incoming pod's anti-affinity rules, there is change to return early when there is no any matched anti-affinity terms in the whole cluster.
kubernetes_kubernetes
train
509737327ae80bcf5f1af61b0837addd33e7d7a3
diff --git a/carnifex/sshprocess.py b/carnifex/sshprocess.py index <HASH>..<HASH> 100644 --- a/carnifex/sshprocess.py +++ b/carnifex/sshprocess.py @@ -8,7 +8,7 @@ from carnifex.inductor import ProcessInductor from carnifex.ssh.client import SSHClientFactory from carnifex.ssh.command import SSHCommand from carnifex.s...
Use connectProcess in SSHProcessInductor
sporsh_carnifex
train
dfad79ce985bc3d98d487906f4ecdbb1622ffef1
diff --git a/sling/core/commons/pom.xml b/sling/core/commons/pom.xml index <HASH>..<HASH> 100644 --- a/sling/core/commons/pom.xml +++ b/sling/core/commons/pom.xml @@ -72,6 +72,7 @@ * </Import-Package> <Export-Package> + ...
include 'admin' always if group membership is checked
ist-dresden_composum
train
338f223594151c9b558d7492e4e2229712175423
diff --git a/tests/test_cli.py b/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -981,3 +981,22 @@ def test_sync_wandb_run_and_tensorboard(runner, live_mock_server): "WARNING Found .wandb file, not streaming tensorboard metrics" in result.output...
[WB-<I>] ensure captive key input even if user presses enter (#<I>)
wandb_client
train
b8ca7d24c8f354d73ddc9bbae665fcf5ce5b0042
diff --git a/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaRolloutManagement.java b/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaRolloutManagement.java index <HASH>..<HASH> 100644 --- a/hawkbit-repository/hawkbit-repository...
Change loglevel to debug for rolloutgroup status messages (#<I>)
eclipse_hawkbit
train
1676d741b9545fac23fb7da1a8fd07a12bb3812d
diff --git a/rails_event_store/spec/browser_integration_spec.rb b/rails_event_store/spec/browser_integration_spec.rb index <HASH>..<HASH> 100644 --- a/rails_event_store/spec/browser_integration_spec.rb +++ b/rails_event_store/spec/browser_integration_spec.rb @@ -19,8 +19,8 @@ module RailsEventStore response = re...
Adjust to new paging params [d<I>b]
RailsEventStore_rails_event_store
train
bb9079aedb2bdeba301bf3a9562fd25163bf9401
diff --git a/lib/licensee/content_helper.rb b/lib/licensee/content_helper.rb index <HASH>..<HASH> 100644 --- a/lib/licensee/content_helper.rb +++ b/lib/licensee/content_helper.rb @@ -85,7 +85,7 @@ module Licensee 'owner' => 'holder' }.freeze STRIP_METHODS = %i[ - unlicense_optional hrs m...
restore try stripping title again after copyright introduced in fadb<I>f<I>bbc<I>faf0fbc<I>a4a9ed<I>b1 eg upl usually, bsd occasionally has copyright before title in wild inadvertently removed in <I>ccd4fd<I>e2fc9a<I>c<I>b<I>c<I>cd
licensee_licensee
train
6b74fc6e6ebf0588c456387dedf9a38e8b55a309
diff --git a/typescript-generator-core/pom.xml b/typescript-generator-core/pom.xml index <HASH>..<HASH> 100644 --- a/typescript-generator-core/pom.xml +++ b/typescript-generator-core/pom.xml @@ -14,8 +14,8 @@ <properties> <jackson1.version>1.9.13</jackson1.version> - <jackson2.version>2.8.10</jac...
Java 9 compatibility, updated dependencies (#<I>) - added jaxb-api, javax.activation-api - updated fast-classpath-scanner - using `NashornScriptEngine` (javascript) directly
vojtechhabarta_typescript-generator
train
f980b7f969a39e35c1308ccfa8cd72db52169bda
diff --git a/app/models/fae/user.rb b/app/models/fae/user.rb index <HASH>..<HASH> 100644 --- a/app/models/fae/user.rb +++ b/app/models/fae/user.rb @@ -7,7 +7,7 @@ module Fae belongs_to :role - validates :email, presence: true + validates_presence_of :first_name, :email, :role validates_uniqueness_of...
added validation on the name(since the index links with the name) and the role
wearefine_fae
train
305a1f24188614c1c3d02e1ae537fd32bbf1d51d
diff --git a/lib/runner/extensions/control.command.js b/lib/runner/extensions/control.command.js index <HASH>..<HASH> 100644 --- a/lib/runner/extensions/control.command.js +++ b/lib/runner/extensions/control.command.js @@ -37,6 +37,7 @@ module.exports = { this.paused = false; setTimeout(functi...
Delete __resume to fix potential memory leak
postmanlabs_postman-runtime
train
3f8272e525e808b14d9e1bf3dd8c89a225ae96be
diff --git a/chess/engine.py b/chess/engine.py index <HASH>..<HASH> 100644 --- a/chess/engine.py +++ b/chess/engine.py @@ -1613,31 +1613,31 @@ class XBoardProtocol(EngineProtocol): if not engine.features.get("reuse", 1): LOGGER.warning("%s: Rejecting feature reuse=0", engine) - ...
Fix rejected/accepted in CECP (fixes #<I>)
niklasf_python-chess
train
ee6135c538e24ff37d08b86f34668ccb223c49e1
diff --git a/stanza/models/common/doc.py b/stanza/models/common/doc.py index <HASH>..<HASH> 100644 --- a/stanza/models/common/doc.py +++ b/stanza/models/common/doc.py @@ -142,10 +142,12 @@ class Document(StanzaObject): def _process_sentences(self, sentences, comments=None): self.sentences = [] - ...
Add sent_idx to the sentences. Indexed at 1 to match the tokens.
stanfordnlp_stanza
train
1f308033d4154226c85211abd4f796b65ef3e5bb
diff --git a/lib/angular-retina.js b/lib/angular-retina.js index <HASH>..<HASH> 100644 --- a/lib/angular-retina.js +++ b/lib/angular-retina.js @@ -7,14 +7,14 @@ var infix = '@2x', data_url_regex = /^data:([a-z]+\/[a-z]+(;[a-z\-]+\=[a-z\-]+)?)?(;base64)?,(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?...
Declared $provide as dependency of ngRetina module
jrief_angular-retina
train
1c5816e77c69edec2336120c3d4bdaeb5b05c292
diff --git a/lib/server-code/model/index.js b/lib/server-code/model/index.js index <HASH>..<HASH> 100644 --- a/lib/server-code/model/index.js +++ b/lib/server-code/model/index.js @@ -116,10 +116,6 @@ class ServerCodeModel { ', errors: ' + this.errors.length; } - describeService(name) { - return this.get...
fix (task executor) timeout is respected in invoke-handler task only
Backendless_JS-Code-Runner
train
24cd55cbce54eb5b107b7d553ae8edc558e84785
diff --git a/tests/functional/cocoapods/test_resolvers_cocoapods.py b/tests/functional/cocoapods/test_resolvers_cocoapods.py index <HASH>..<HASH> 100644 --- a/tests/functional/cocoapods/test_resolvers_cocoapods.py +++ b/tests/functional/cocoapods/test_resolvers_cocoapods.py @@ -26,9 +26,9 @@ CASE_NAMES = [name for name...
Accomodate quirks in CocoaPods fixtures There are some minor format errors in the CocoaPods fixtures. Handle those specifically.
sarugaku_resolvelib
train
c974d2fce67c43ef43ee271a2a97148754a099c9
diff --git a/tests/api/configuration_test.py b/tests/api/configuration_test.py index <HASH>..<HASH> 100644 --- a/tests/api/configuration_test.py +++ b/tests/api/configuration_test.py @@ -232,7 +232,34 @@ class NoConfiguration(unittest.TestCase): assert cover.config['service_branch'] == 'fixup-branch' ...
tests(api): add more tests to improve coverage (#<I>)
coveralls-clients_coveralls-python
train
83b75ee32c9ceb428b2be43ee96a5176f99b6b96
diff --git a/src/main/java/com/corundumstudio/socketio/SocketIOClient.java b/src/main/java/com/corundumstudio/socketio/SocketIOClient.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/corundumstudio/socketio/SocketIOClient.java +++ b/src/main/java/com/corundumstudio/socketio/SocketIOClient.java @@ -22,20 +22,62 ...
SocketIOClient javadocs added
mrniko_netty-socketio
train
8965dbcea3566a474b6326dbf9d9e118cf4023b9
diff --git a/Documentation/gettingstarted/bandwidth-manager.rst b/Documentation/gettingstarted/bandwidth-manager.rst index <HASH>..<HASH> 100644 --- a/Documentation/gettingstarted/bandwidth-manager.rst +++ b/Documentation/gettingstarted/bandwidth-manager.rst @@ -86,7 +86,7 @@ is enforced: .. code-block:: shell-session...
cilium, status: Extend bandwidth manager status dump with congctl Finally, extend cilium status dump with the used congestion control algorithm.
cilium_cilium
train
08b801db45b11240d652c58a6d076637a784d4a7
diff --git a/src/BEAR/Sunday/Module/Code/AnnotationModule.php b/src/BEAR/Sunday/Module/Code/AnnotationModule.php index <HASH>..<HASH> 100644 --- a/src/BEAR/Sunday/Module/Code/AnnotationModule.php +++ b/src/BEAR/Sunday/Module/Code/AnnotationModule.php @@ -8,6 +8,7 @@ namespace BEAR\Sunday\Module\Code; use Ray\Di\Abs...
[#<I>] bind annotation reader in singleton
bearsunday_BEAR.Sunday
train
3386698a6b4d5eff608d4d8816f1acb1a96d1de6
diff --git a/gl-matrix.js b/gl-matrix.js index <HASH>..<HASH> 100644 --- a/gl-matrix.js +++ b/gl-matrix.js @@ -2,7 +2,7 @@ * @fileoverview gl-matrix - High performance matrix and vector operations for WebGL * @author Brandon Jones * @author Colin MacKenzie IV - * @version 1.3.4 + * @version 1.3.5 */ /* @@ -3...
Added squaredLength to the vector classes Also added missing length to vec4
toji_gl-matrix
train
c1c39beaabf29c32cd8ecaede6c9fd10cd9b1188
diff --git a/plugins/guests/redhat/cap/configure_networks.rb b/plugins/guests/redhat/cap/configure_networks.rb index <HASH>..<HASH> 100644 --- a/plugins/guests/redhat/cap/configure_networks.rb +++ b/plugins/guests/redhat/cap/configure_networks.rb @@ -26,6 +26,9 @@ module VagrantPlugins require File.expand_pa...
restart NetworkManager and network for CentOS <I>
hashicorp_vagrant
train
1a3bc86966a7854161ce23bdcc8693e72467def0
diff --git a/cnxarchive/tests/test_database.py b/cnxarchive/tests/test_database.py index <HASH>..<HASH> 100644 --- a/cnxarchive/tests/test_database.py +++ b/cnxarchive/tests/test_database.py @@ -381,7 +381,7 @@ class ModulePublishTriggerTestCase(unittest.TestCase): INSERT INTO modules VALUES ( DEFAULT...
remove parent path part of resources link: make it a host-relative link
openstax_cnx-archive
train
b05930356dc4b0a44e65f3f7fdfc5d4a07af88eb
diff --git a/admin/code/LeftAndMain.php b/admin/code/LeftAndMain.php index <HASH>..<HASH> 100644 --- a/admin/code/LeftAndMain.php +++ b/admin/code/LeftAndMain.php @@ -79,7 +79,7 @@ class LeftAndMain extends Controller implements PermissionProvider { * @config * @var string */ - private static $help_link = '//u...
Updating help link to <I> from <I>
silverstripe_silverstripe-framework
train
e9073f8d5f793eafb8a0c7c31e56fb9095223223
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -58,9 +58,9 @@ copyright = u'2014, The Python-GSSAPI team' # built documents. # # The short X.Y version. -version = '1.7.0' +version = '1.7.1rc1' # The full version, including al...
Prepare for <I>rc1 release
pythongssapi_python-gssapi
train
d586186dba68e338c355b6236fb612f450c2fb04
diff --git a/dataviews/dataviews.py b/dataviews/dataviews.py index <HASH>..<HASH> 100644 --- a/dataviews/dataviews.py +++ b/dataviews/dataviews.py @@ -338,6 +338,11 @@ class TableStack(Stack): super(TableStack, self)._item_check(dim_vals, data) + def sample(self, **kwargs): + from operation impor...
Added new sample method to TableStack
pyviz_holoviews
train
990e2eb872faf2a5f6dba5891a9418e1b690e15a
diff --git a/FormaLibreReservationBundle.php b/FormaLibreReservationBundle.php index <HASH>..<HASH> 100644 --- a/FormaLibreReservationBundle.php +++ b/FormaLibreReservationBundle.php @@ -6,10 +6,6 @@ use Claroline\CoreBundle\Library\PluginBundle; use Claroline\KernelBundle\Bundle\ConfigurationBuilder; use FormaLibre\...
[ReservationBundle] Set migrations to true
claroline_Distribution
train
1695d11b48fcc2f5a6e6cc56420c65014a218b1b
diff --git a/backports/lzma/__init__.py b/backports/lzma/__init__.py index <HASH>..<HASH> 100644 --- a/backports/lzma/__init__.py +++ b/backports/lzma/__init__.py @@ -455,11 +455,18 @@ def decompress(data, format=FORMAT_AUTO, memlimit=None, filters=None): results = [] while True: decomp = LZMADecompr...
Ignore leftover data if it's invalid, taken from Python <I>
peterjc_backports.lzma
train
7b350f07ad48eaa1911bd7389800e08ef5096e71
diff --git a/cookies.py b/cookies.py index <HASH>..<HASH> 100644 --- a/cookies.py +++ b/cookies.py @@ -123,8 +123,13 @@ class cookie( object ): self.__parameters['path'] = path def __str__( self ): - parameters = '; '.join( map( '='.join, [ ( self.__name, self.__value ) ] + self.__parameters.items() ) ) - ...
Added better display of cookie objects.
jaraco_jaraco.util
train
6135c688b854fdbf741e56630328349ad3d26b42
diff --git a/eth/tracers/js/goja.go b/eth/tracers/js/goja.go index <HASH>..<HASH> 100644 --- a/eth/tracers/js/goja.go +++ b/eth/tracers/js/goja.go @@ -55,11 +55,7 @@ type fromBufFn = func(vm *goja.Runtime, buf goja.Value, allowString bool) ([]byt func toBuf(vm *goja.Runtime, bufType goja.Value, val []byte) (goja.Val...
eth/tracers: optimize goja buffer conversion (#<I>) This changes the []byte <-> Uint8Array conversion to use an ArrayBuffer, avoiding inefficient copying of the slice data in Goja.
ethereum_go-ethereum
train
468c473930ea8bf5de2de5e729b38fe6dd60d245
diff --git a/dedupe/predicates.py b/dedupe/predicates.py index <HASH>..<HASH> 100644 --- a/dedupe/predicates.py +++ b/dedupe/predicates.py @@ -5,6 +5,7 @@ from builtins import str import re import math import itertools +import string from metaphone import doublemetaphone from dedupe.cpredicates import ngrams, in...
strip out punctuation for simple predicates
dedupeio_dedupe
train
f6434ae874e814cda55a70edfd9e12ea8e1d5261
diff --git a/library/Zepto/Router.php b/library/Zepto/Router.php index <HASH>..<HASH> 100644 --- a/library/Zepto/Router.php +++ b/library/Zepto/Router.php @@ -155,32 +155,6 @@ class Router } /** - * Enables the display of errors such as malformed URL routing rules or - * conflicting routing rules. N...
Cleaned up ``Zepto\Router``
hassankhan_Sonic
train
a0fa34d241c8baf2bbb1fcdd44d07f6edf612f04
diff --git a/lib/rules/id-style.js b/lib/rules/id-style.js index <HASH>..<HASH> 100644 --- a/lib/rules/id-style.js +++ b/lib/rules/id-style.js @@ -14,7 +14,9 @@ module.exports = { name: 'id-class-ignore-regex', desc: 'The value is either a string giving a regular expression or `false`. If set, `id`s a...
Fix id-class-ignore-regex when argument is empty
htmllint_htmllint
train
f0a5e9dee992f2781610efb108671dfade3965e1
diff --git a/pgmpy/models/continuous/LinearGaussianBayesianNetwork.py b/pgmpy/models/continuous/LinearGaussianBayesianNetwork.py index <HASH>..<HASH> 100644 --- a/pgmpy/models/continuous/LinearGaussianBayesianNetwork.py +++ b/pgmpy/models/continuous/LinearGaussianBayesianNetwork.py @@ -127,3 +127,33 @@ class LinearGaus...
added exceptions for not implemented methods of BayesianModel in LGBN
pgmpy_pgmpy
train
0a352e1a906fbf7592aa95d6327776236d13392a
diff --git a/api/client/events.go b/api/client/events.go index <HASH>..<HASH> 100644 --- a/api/client/events.go +++ b/api/client/events.go @@ -121,7 +121,6 @@ func printOutput(event eventtypes.Message, output io.Writer) { type eventHandler struct { handlers map[string]func(eventtypes.Message) mu sync.Mutex -...
Remove some unused structs and fields
containers_storage
train
88dcf7b19aee6503aba15670a92153c31bea92a7
diff --git a/lib/substation/environment.rb b/lib/substation/environment.rb index <HASH>..<HASH> 100644 --- a/lib/substation/environment.rb +++ b/lib/substation/environment.rb @@ -1,21 +1,25 @@ module Substation - # Encapsulates all registered {Action} instances and their observers + # Encapsulates all registered a...
[ci skip] Pimp the docs
snusnu_substation
train
df7e903267828084470001a69a2d45044b1a2ab6
diff --git a/rpi-gpio.js b/rpi-gpio.js index <HASH>..<HASH> 100644 --- a/rpi-gpio.js +++ b/rpi-gpio.js @@ -589,7 +589,6 @@ GPIO.promise = { on: GPIO.on.bind(GPIO), once: GPIO.once.bind(GPIO), - off: GPIO.off.bind(GPIO), addListener: GPIO.addListener.bind(GPIO), removeListener: GPIO.removeListen...
Don't expose promise.off(), as it isn't available in Node < <I>
JamesBarwell_rpi-gpio.js
train
28bf7a9f28b3c22209b099289e62c34396ad57da
diff --git a/package.json b/package.json index <HASH>..<HASH> 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "stylelint-order": "^0.5.0", "stylelint-scss": "^1.4.1", "stylelint-selector-bem-pattern": "^1.0.0", - "testdouble": "3.0.0", + "testdouble": "3.2.0", "to-slug-case": "^...
chore(package): update testdouble to version <I> (#<I>)
material-components_material-components-web
train
1d17d42f8ff4a98cd36217e866c52d417007a55b
diff --git a/command/cli.go b/command/cli.go index <HASH>..<HASH> 100644 --- a/command/cli.go +++ b/command/cli.go @@ -20,6 +20,7 @@ import ( dopts "github.com/docker/docker/opts" "github.com/docker/go-connections/sockets" "github.com/docker/go-connections/tlsconfig" + "github.com/docker/notary/passphrase" "git...
use an encrypted client certificate to connect to a docker daemon
docker_cli
train
cbe2ea7b232fd9e9fbf19a71b0d795115142f004
diff --git a/example.php b/example.php index <HASH>..<HASH> 100644 --- a/example.php +++ b/example.php @@ -211,10 +211,7 @@ if (!isset($_GET['oauth_verifier'])) { // Step 1: Get a Request Token // // Get a temporary request token to facilitate the user authorization - // in step 2. We make a request ...
edited comments talked about google calendars, not relevant to this example
XeroAPI_XeroOAuth-PHP
train
d2e17464b4b43d892e142cfd78e77b9807dc22cf
diff --git a/lib/recaptcha.rb b/lib/recaptcha.rb index <HASH>..<HASH> 100644 --- a/lib/recaptcha.rb +++ b/lib/recaptcha.rb @@ -64,7 +64,7 @@ module Recaptcha verify_hash = { 'secret' => secret_key, 'response' => response } verify_hash['remoteip'] = options[:remote_ip] if options.key?(:remote_ip) - reply ...
Use default if timeout is nil With the current implementation the default timeout is never used because a timeout argument is always passed to api_verification.
ambethia_recaptcha
train
2130fc35dbd292bb56d1e5eeea858d3b06d865ef
diff --git a/awis/__init__.py b/awis/__init__.py index <HASH>..<HASH> 100644 --- a/awis/__init__.py +++ b/awis/__init__.py @@ -74,7 +74,7 @@ class AwisApi(object): } MAX_BATCH_REQUESTS = 5 MAX_SITES_LINKING_IN_COUNT = 20 - MAX_CATEGORY_LISTINGS_COUNT = 20 + MAX_CATEGORY_LISTINGS_COUNT = 100 ...
Include Count and Start in categories request
muhuk_python-awis
train
0552f1830942a95c7f48c673dabee2b17879cc95
diff --git a/js/coinbase.js b/js/coinbase.js index <HASH>..<HASH> 100644 --- a/js/coinbase.js +++ b/js/coinbase.js @@ -157,28 +157,45 @@ module.exports = class coinbase extends Exchange { let data = response['data']; return this.parse8601 (data['iso']); } - - async fetchMyTrades (symbol = unde...
coinbase fetchMyTrades edits, added fetchAccounts, loadAccounts
ccxt_ccxt
train
009230b5f1d6e9cabbf1a709fbce6e6b0a64cbed
diff --git a/LiSE/character.py b/LiSE/character.py index <HASH>..<HASH> 100644 --- a/LiSE/character.py +++ b/LiSE/character.py @@ -1517,6 +1517,8 @@ class CharStatCache(MutableMapping): return unlistener(self._listeners, fun, stat) def _dispatch(self, k, v): + if k in self and self[k] == v: + ...
do not dispatch stat changes if they aren't actual changes
LogicalDash_LiSE
train
33bd01c417e0f4a8ce9ecd34e4e4bd96ad53d51c
diff --git a/lib/route_translator.rb b/lib/route_translator.rb index <HASH>..<HASH> 100644 --- a/lib/route_translator.rb +++ b/lib/route_translator.rb @@ -247,6 +247,16 @@ class RouteTranslator [route.app, conditions, requirements, defaults, new_name] end + def untranslated_route route + condition...
Helper to add untranslated routes Basically a few tweaks to prevent rack middleware form complaining
enriclluelles_route_translator
train
81769350a703ac809a35033450aa04c877276cc1
diff --git a/spec/functional/resource/user_spec.rb b/spec/functional/resource/user_spec.rb index <HASH>..<HASH> 100644 --- a/spec/functional/resource/user_spec.rb +++ b/spec/functional/resource/user_spec.rb @@ -18,11 +18,21 @@ # require 'spec_helper' +require 'functional/resource/base' require 'chef/mixin/shell_ou...
aix: enable user tests, username by default are shorter on aix
chef_chef
train
19a7c4a38820a88c7a9668594fd892c40594912b
diff --git a/validation.js b/validation.js index <HASH>..<HASH> 100644 --- a/validation.js +++ b/validation.js @@ -471,17 +471,17 @@ function validateParents(conn, objJoint, objValidationState, callback){ // if it were not stable, we wouldn't have had the ball at all if (objLastBallUnitProps.ball !== last...
enforce stable in parents since mci <I>
byteball_ocore
train
65adc083e12cf653adeaf5aef6d9ba072ecd385b
diff --git a/taskw/utils.py b/taskw/utils.py index <HASH>..<HASH> 100644 --- a/taskw/utils.py +++ b/taskw/utils.py @@ -57,6 +57,7 @@ def decode_task(line): task = {} for key, value in re.findall(r'(\w+):"(.*?)(?<!\\)"', line): + value = value.replace('\\"', '"') # unescape quotes task[key] ...
Fixed problems with quotes in task properties E.g., 'Fix "quotes" in bugwarrior' would be read as 'Fix \"quotes\" in bugwarrior', now the quotes are properly decoded.
ralphbean_taskw
train
4e53873d00f5294b41ba7a81ee911ef984056b3c
diff --git a/lib/em-hiredis/lock.rb b/lib/em-hiredis/lock.rb index <HASH>..<HASH> 100644 --- a/lib/em-hiredis/lock.rb +++ b/lib/em-hiredis/lock.rb @@ -1,6 +1,7 @@ module EM::Hiredis # Distributed lock built on redis class Lock + # Register an callback which will be called 1s before the lock expires def o...
Lock: Cleanup logging and make more descriptive
mloughran_em-hiredis
train
6d771f7f301b3db86055c601a65b15a69cb88e94
diff --git a/daflib.py b/daflib.py index <HASH>..<HASH> 100644 --- a/daflib.py +++ b/daflib.py @@ -3,11 +3,13 @@ http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/FORTRAN/req/daf.html """ -import struct import mmap +import struct +from pprint import pprint -FTPSTR = 'FTPSTR:\r:\n:\r\n:\r\x00:\x81:\x10\xce:ENDFTP' ...
Correctly parse the first summary in the file
brandon-rhodes_python-jplephem
train
19587ddc92f99275266fec7bba3591bba2081086
diff --git a/nomnoml.app.js b/nomnoml.app.js index <HASH>..<HASH> 100644 --- a/nomnoml.app.js +++ b/nomnoml.app.js @@ -14,7 +14,7 @@ $(function (){ var canvasElement = document.getElementById('canvas') var defaultSource = document.getElementById('defaultGraph').innerHTML var graphics = skanaar.Canvas(canvasElemen...
Enhance encoding of the shareable link Using the more robust method of encoding the url as found on at <URL>
skanaar_nomnoml
train
7659b6800848c50286d5e079519ebc3ee3957b62
diff --git a/src/sap.m/src/sap/m/Select.js b/src/sap.m/src/sap/m/Select.js index <HASH>..<HASH> 100644 --- a/src/sap.m/src/sap/m/Select.js +++ b/src/sap.m/src/sap/m/Select.js @@ -644,6 +644,7 @@ sap.ui.define(['jquery.sap.global', './Bar', './Dialog', './InputBase', './Popov * @private */ Select.prototype.on...
[FIX] sap.m.Select: fix infinite loop in change event Change-Id: I<I>dc<I>b<I>bbb<I>d<I>f7d<I>c<I>abbffa3e BCP: <I>
SAP_openui5
train
7a53e20c8d45b70e183ca294e4f92d9de4b82cbb
diff --git a/tests/WeiTest/DbTest.php b/tests/WeiTest/DbTest.php index <HASH>..<HASH> 100644 --- a/tests/WeiTest/DbTest.php +++ b/tests/WeiTest/DbTest.php @@ -1465,6 +1465,17 @@ class DbTest extends TestCase $this->assertFalse($member); } + public function testDeleteRecordByQueryBuilder() + { ...
added test for delete by query builder
twinh_wei
train
e5e132958230b4ec44df4e85eade93bbb26136cf
diff --git a/examples/hello.py b/examples/hello.py index <HASH>..<HASH> 100644 --- a/examples/hello.py +++ b/examples/hello.py @@ -1,18 +1,27 @@ import xenon from xenon import (Scheduler, JobDescription, JobStatus, Path) - +import pathlib +import os xenon.init() with Scheduler.create(adaptor='local') as schedul...
hello world works on windows; interactive is blocking; tutorial works almost, upto the point where we have to copy back the data
xenon-middleware_pyxenon
train
77913b47ad7587c571787ec0f2a87b45aef10ad1
diff --git a/OpenStreetMapViewer/src/main/java/org/osmdroid/samplefragments/SampleCustomIconDirectedLocationOverlay.java b/OpenStreetMapViewer/src/main/java/org/osmdroid/samplefragments/SampleCustomIconDirectedLocationOverlay.java index <HASH>..<HASH> 100644 --- a/OpenStreetMapViewer/src/main/java/org/osmdroid/samplefr...
#<I> fixing test failure on api<I>
osmdroid_osmdroid
train
12823d23087cf901313f075fbddef8d3a7e2db9a
diff --git a/src/main/java/com/googlecode/mp4parser/authoring/builder/SyncSampleIntersectFinderImpl.java b/src/main/java/com/googlecode/mp4parser/authoring/builder/SyncSampleIntersectFinderImpl.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/googlecode/mp4parser/authoring/builder/SyncSampleIntersectFinderImpl....
fixed issue with wrong fragment alignment in case of different audio codecs git-svn-id: <URL>
sannies_mp4parser
train
c736458cb0b3c983054f6f5e1141ce1f32d46fa8
diff --git a/lib/comfortable_mexican_sofa/engine.rb b/lib/comfortable_mexican_sofa/engine.rb index <HASH>..<HASH> 100644 --- a/lib/comfortable_mexican_sofa/engine.rb +++ b/lib/comfortable_mexican_sofa/engine.rb @@ -3,7 +3,7 @@ require "comfortable_mexican_sofa" require "rails" require "rails-i18n" -require "bootstra...
how wasn't it even caught?
comfy_comfortable-mexican-sofa
train
bd66966dc01d0f2779d9815501a7976203f186dc
diff --git a/tests/test_config.py b/tests/test_config.py index <HASH>..<HASH> 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -16,6 +16,8 @@ import fs.opener import pretend import pytest +from pyramid.httpexceptions import HTTPMovedPermanently + from warehouse import config @@ -194,5 +196,5 @@ ...
Use a permanent redirect to append slashes
pypa_warehouse
train
fc5c15aa6c6bccc99787f0e3a89ce31d05f60b41
diff --git a/safe/definitions.py b/safe/definitions.py index <HASH>..<HASH> 100644 --- a/safe/definitions.py +++ b/safe/definitions.py @@ -549,7 +549,7 @@ exposure_population = { tr('Population rounding is applied to all population values, ' 'which may cause discrepancies when adding values.'), ...
changed "persons" to "people" according to feedback from Charlotte
inasafe_inasafe
train
c5fafb2d87e9f4b23b8c93c68dba0980cfa43fbe
diff --git a/util.go b/util.go index <HASH>..<HASH> 100644 --- a/util.go +++ b/util.go @@ -32,6 +32,18 @@ func FloatEqual32(a, b float32) bool { return math.Abs(float64(a-b))/(math.Abs(float64(a))+math.Abs(float64(b))) < epsilon } +func FloatEqualFunc(epsilon float64) func(float64, float64) bool { + return func(a,...
Added ability to generate a float comparison with arbitrary threshold
go-gl_mathgl
train
3bf7edffd3662768ada501c763cdc5c081dbafa3
diff --git a/multiupload/fields.py b/multiupload/fields.py index <HASH>..<HASH> 100644 --- a/multiupload/fields.py +++ b/multiupload/fields.py @@ -36,6 +36,7 @@ class MultiFileField(forms.FileField): def to_python(self, data): ret = [] + data = data or [] for item in data: i...
Making field to accept empty values when required is False
Chive_django-multiupload
train
84bb2e0f4c628dd22f5a81db63d26fbac0dd5f4d
diff --git a/src/BoomCMS/Http/Controllers/Page/Chunk.php b/src/BoomCMS/Http/Controllers/Page/Chunk.php index <HASH>..<HASH> 100644 --- a/src/BoomCMS/Http/Controllers/Page/Chunk.php +++ b/src/BoomCMS/Http/Controllers/Page/Chunk.php @@ -12,13 +12,10 @@ use Illuminate\Support\Facades\View; class Chunk extends PageContr...
Fixed bug with chunk save auth checks
boomcms_boom-core
train
7e670412ed38df36a58ba75fb1602e84667b5350
diff --git a/actions/class.Runner.php b/actions/class.Runner.php index <HASH>..<HASH> 100644 --- a/actions/class.Runner.php +++ b/actions/class.Runner.php @@ -427,6 +427,7 @@ class taoQtiTest_actions_Runner extends tao_actions_ServiceModule } $successState = $this->runnerService->setItemState($s...
Override the duration with the computed timer when submiting results
oat-sa_extension-tao-testqti
train
5c231445a56c1ad4aeacb9022c8f98f33b3d34e0
diff --git a/lib/active_merchant/billing/gateways/usa_epay.rb b/lib/active_merchant/billing/gateways/usa_epay.rb index <HASH>..<HASH> 100644 --- a/lib/active_merchant/billing/gateways/usa_epay.rb +++ b/lib/active_merchant/billing/gateways/usa_epay.rb @@ -134,7 +134,7 @@ module ActiveMerchant #:nodoc: fields = ...
USA ePay: Make response parsing more robust to avoid exceptions on missing values
activemerchant_active_merchant
train
1fa19ede83ac1877ff381754fb59e7f009a07e5e
diff --git a/vyked/bus.py b/vyked/bus.py index <HASH>..<HASH> 100644 --- a/vyked/bus.py +++ b/vyked/bus.py @@ -31,6 +31,9 @@ def _retry_for_client_conn(result): return True +def _retry_for_pub(result): + return not result + def _retry_for_exception(e): return True @@ -211,8 +214,11 @@ class Bus: ...
Adding retrial to publication
kashifrazzaqui_vyked
train
ff9b503f0f465ed5cb814f0ff56a802cec8212bd
diff --git a/src/Google/Service/Freebase.php b/src/Google/Service/Freebase.php index <HASH>..<HASH> 100644 --- a/src/Google/Service/Freebase.php +++ b/src/Google/Service/Freebase.php @@ -43,6 +43,7 @@ class Google_Service_Freebase extends Google_Service public function __construct(Google_Client $client) { pa...
Updated Freebase.php This change has been generated by a script that has detected changes in the discovery doc of the API. Check <URL>
googleapis_google-api-php-client
train
0836404d0c9fd229869951da14ce3bc7a2bc7d61
diff --git a/suds/bindings/document.py b/suds/bindings/document.py index <HASH>..<HASH> 100644 --- a/suds/bindings/document.py +++ b/suds/bindings/document.py @@ -103,9 +103,18 @@ class Document(Binding): if not wrapped: return pts result = [] + # wrapped for p in pts: ...
Update document/literal to exclude wrapper children that are attributes or contained by <choice/>. This leads to an inaccurate method signature but at this point I just want to get it working correctly. Also, wrappers that contain a bunch of choices is very rare.
suds-community_suds
train
82124daeabd5b8c1b8e75d9439cb5ef22e7ac889
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,10 @@ import { polyfills } from "./constants"; export default function jspicl (source) { const tree = esprima.parse(source); - const lua = transpile(tree.body); + const output = transpile(tree.b...
API returns different format - Polyfills and transpiled code is separated
AgronKabashi_jspicl
train
6b75b3a10df958150dc6d51be38966074e86dbb9
diff --git a/gimmemotifs/tools.py b/gimmemotifs/tools.py index <HASH>..<HASH> 100644 --- a/gimmemotifs/tools.py +++ b/gimmemotifs/tools.py @@ -136,7 +136,7 @@ class BioProspector(MotifProgram): if pwm: m = Motif(pwm) - m.id = "BioProspector_w%s_%s" % (len(m), id) + m.id = "%s_w%s_%s" % (self.name, len(m), ...
Add correct tool name to every predicted motif
vanheeringen-lab_gimmemotifs
train
41fad65ed8ad17163d2a922899af1e1b17c0e2fc
diff --git a/skew/resources/aws/__init__.py b/skew/resources/aws/__init__.py index <HASH>..<HASH> 100644 --- a/skew/resources/aws/__init__.py +++ b/skew/resources/aws/__init__.py @@ -145,7 +145,7 @@ class AWSResource(Resource): LOG.debug('need to build tags') self._tags = {} - if ...
Fix a "TypeError: 'NoneType' object is not iterable" exception (#<I>) When tags_spec is None in a meta, it can throw this exception. We specifically test it not to be None
scopely-devops_skew
train
ae13124ef4a52e22e4d7a6a95567a7e8af50c5c9
diff --git a/pyinfra/facts/files.py b/pyinfra/facts/files.py index <HASH>..<HASH> 100644 --- a/pyinfra/facts/files.py +++ b/pyinfra/facts/files.py @@ -39,8 +39,8 @@ class Sha1File(FactBase): ''' _regexes = [ - r'^([a-zA-Z0-9]+)\s+[a-zA-Z0-9_\/\.\-]+$', - r'^SHA1 \([a-zA-Z0-9_\/\.\-]+\)\s+=\s+(...
facts/files: allow sha1 for files regardless of filename This allows for files like: /etc/systemd/system/<EMAIL>/override.conf
Fizzadar_pyinfra
train