hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
295778efba3158626bfa37081d87a00088fc2564
diff --git a/src/Event/EventHandler.php b/src/Event/EventHandler.php index <HASH>..<HASH> 100644 --- a/src/Event/EventHandler.php +++ b/src/Event/EventHandler.php @@ -82,7 +82,13 @@ class EventHandler implements EventInterface $variables = sscanf($event, $pattern); //if it matche...
Render %s Body and Render %s Page will match the same - Needed to add an extra prey match to fix that, maybe problematic
CradlePHP_packages
train
php
6ceccbff1860859e109b358f4d979f4de2276804
diff --git a/lib/server-lib.js b/lib/server-lib.js index <HASH>..<HASH> 100644 --- a/lib/server-lib.js +++ b/lib/server-lib.js @@ -112,9 +112,9 @@ function remoteHasLedger(remote, ledger, callback) { } var ledger_range = status.rippled_server_status.complete_ledgers, - min_max = ledger_range.split('-')...
[FIX] Now handles multiple ranges for rippled complete_ledgers
ripple_ripple-rest
train
js
15b86e0bd4437858b994662d349318dfe8ebf12e
diff --git a/src/oidcendpoint/id_token.py b/src/oidcendpoint/id_token.py index <HASH>..<HASH> 100755 --- a/src/oidcendpoint/id_token.py +++ b/src/oidcendpoint/id_token.py @@ -251,7 +251,7 @@ class IDToken(object): _cinfo = _context.cdb[_client_id] - default_idtoken_claims = self.kwargs.get("default_...
Copy default_claims dict to make an id_token Fix bug where the default_claims dict, defined in the configuration, is updated on every request.
IdentityPython_oidcendpoint
train
py
3178e0254b3fd4436d4a05f40bacaf33a18dbfaf
diff --git a/lib/jira/resource/base.rb b/lib/jira/resource/base.rb index <HASH>..<HASH> 100644 --- a/lib/jira/resource/base.rb +++ b/lib/jira/resource/base.rb @@ -107,6 +107,10 @@ module Jira def to_json attrs.to_json end + + def new_record? + @attrs['id'].nil? + end end ...
Implement Jira::Resource::Base#new_record?
sumoheavy_jira-ruby
train
rb,rb
bf5be03a144ac1a9754431f8924d8834c85fffc6
diff --git a/src/BaseValidator.php b/src/BaseValidator.php index <HASH>..<HASH> 100644 --- a/src/BaseValidator.php +++ b/src/BaseValidator.php @@ -38,7 +38,7 @@ abstract class BaseValidator /** * @param string $name - * @param mixed $value + * @param string $value * @param bool $stopOnErr...
Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on <URL>
nilportugues_php-validator
train
php,php
c9685a4e03950fb99955103beea5fcdc01d8bc89
diff --git a/src/sentaku/utils.py b/src/sentaku/utils.py index <HASH>..<HASH> 100644 --- a/src/sentaku/utils.py +++ b/src/sentaku/utils.py @@ -2,9 +2,14 @@ utility classes for implementation lookup """ -from collections import Mapping +import sys import attr +if sys.version_info[0] == 3: + from collection...
collections.Mapping was removed in Python <I>
RedHatQE_Sentaku
train
py
4716fbf5b544155c7f2a2c384c9a9df6f6d0a685
diff --git a/plugin.js b/plugin.js index <HASH>..<HASH> 100644 --- a/plugin.js +++ b/plugin.js @@ -16,11 +16,11 @@ 'use strict' const fp = require('fastify-plugin') +const path = require('path') +const scriptRelativeFolder = path.join(__dirname, path.sep) +const fs = require('fs') function defaultFaviconHandler ...
optimization to not calculate path at every request
smartiniOnGitHub_fastify-favicon
train
js
75e64721cb1771f65dd2ac54f3d6568d1deefb02
diff --git a/lib/server/index.js b/lib/server/index.js index <HASH>..<HASH> 100644 --- a/lib/server/index.js +++ b/lib/server/index.js @@ -17,8 +17,7 @@ module.exports = function (config) { var pkgPath = path.join(config.path, 'package.json'); var pkg = require(pkgPath); var render = ssr({ - config: pkgPath + '!...
Do not pass main into canSsr function This removes the adding of `pkg.main` as an argument into `canSsr` when running the server. The reason for this removal is that the main is already defined in the `package.json` file and overriding it will cause problems when using directories.lib. Fixes #<I>
donejs_done-ssr
train
js
da8095552ac3c2c4786f63825bc8af67d2430ef7
diff --git a/nodeconductor/structure/serializers.py b/nodeconductor/structure/serializers.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/serializers.py +++ b/nodeconductor/structure/serializers.py @@ -904,7 +904,7 @@ class BaseServiceSerializer(six.with_metaclass(ServiceSerializerMetaclass, field...
Add missing fields [WAL-<I>] Service and service type have been removed by accident.
opennode_waldur-core
train
py
1347f123a1d6b3a525b46ccdfb154aee3e1a7165
diff --git a/examples/PaymentExample.php b/examples/PaymentExample.php index <HASH>..<HASH> 100644 --- a/examples/PaymentExample.php +++ b/examples/PaymentExample.php @@ -151,7 +151,8 @@ final class PaymentExample $response = $payment->create(); if ($response->statusCode === RebillyHttpStatusCode::E...
Show how to get errors of invalid resource
Rebilly_rebilly-php
train
php
65ec52591372f21b19f45708966a11925efbd18a
diff --git a/nailgun-server/src/main/java/com/martiansoftware/nailgun/NGInputStream.java b/nailgun-server/src/main/java/com/martiansoftware/nailgun/NGInputStream.java index <HASH>..<HASH> 100644 --- a/nailgun-server/src/main/java/com/martiansoftware/nailgun/NGInputStream.java +++ b/nailgun-server/src/main/java/com/mart...
print message to server log on client disconnection
facebook_nailgun
train
java
cee41c8ca527135544ab1232f5602659c9be5014
diff --git a/src/Paystack.php b/src/Paystack.php index <HASH>..<HASH> 100644 --- a/src/Paystack.php +++ b/src/Paystack.php @@ -361,19 +361,7 @@ class Paystack { return $this->setGetResponse('/customer', $data)->getResponse(); } - - /** - * Fetches all customers - * @return array - */ - ...
Deleted an already existing function I created
unicodeveloper_laravel-paystack
train
php
570e304fd14d683d1942fe5a5685dec139da691b
diff --git a/lib/disposable/twin/representer.rb b/lib/disposable/twin/representer.rb index <HASH>..<HASH> 100644 --- a/lib/disposable/twin/representer.rb +++ b/lib/disposable/twin/representer.rb @@ -50,11 +50,6 @@ module Disposable # TODO: check how to simplify. class Options < ::Hash - def inclu...
we don't need :include.
apotonick_disposable
train
rb
c4d65a85d0933aa597ed2534ca50da7fab89db21
diff --git a/src/java/voldemort/common/service/SchedulerService.java b/src/java/voldemort/common/service/SchedulerService.java index <HASH>..<HASH> 100644 --- a/src/java/voldemort/common/service/SchedulerService.java +++ b/src/java/voldemort/common/service/SchedulerService.java @@ -111,6 +111,11 @@ public class Schedul...
Fix the testNodeDownReplacement intermittent failure SchedulerService is not waiting for the scheduled jobs to shutdown and it proceeds with killing the BDB which causes a cursos exception being thrown. This will fix the test.
voldemort_voldemort
train
java
3bd0f53d5a2a1498c7622b3dcffd940b9c597b1e
diff --git a/src/org/jgroups/protocols/MERGE2.java b/src/org/jgroups/protocols/MERGE2.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/protocols/MERGE2.java +++ b/src/org/jgroups/protocols/MERGE2.java @@ -39,7 +39,7 @@ import java.util.concurrent.TimeUnit; * Requires: FIND_INITIAL_MBRS event from below<br> * ...
starting the merge task after a computeInterval() delay
belaban_JGroups
train
java
cfad396652422488f0a323d0aabad387f59031ff
diff --git a/core/server/services/members/index.js b/core/server/services/members/index.js index <HASH>..<HASH> 100644 --- a/core/server/services/members/index.js +++ b/core/server/services/members/index.js @@ -1,6 +1,7 @@ const MembersSSR = require('@tryghost/members-ssr'); const MembersConfigProvider = require('....
Exported MembersCSVImporter from Members service no-issue This will allow the controller to be updated to use the new importer
TryGhost_Ghost
train
js
2364c99b7c75fa70995fecb8fe9df741c0e79619
diff --git a/OPi/GPIO.py b/OPi/GPIO.py index <HASH>..<HASH> 100644 --- a/OPi/GPIO.py +++ b/OPi/GPIO.py @@ -2,7 +2,7 @@ # Copyright (c) 2017 Richard Hull # See LICENSE.md for details. -from OPi.constants import HIGH, LOW, BCM, BOARD, SUNXI, INPUT, OUTPUT +from OPi.constants import HIGH, LOW, BCM, BOARD, SUNXI, INPUT...
Dont flag F<I> on unused imports These imports are imported here so that they can be referenced as GPIO.HIGH for example, as per the usual RPi.GPIO example usage.
rm-hull_OPi.GPIO
train
py
4ece18272b108c36dda05f7c5bdebb46361c61e1
diff --git a/spec/integration/how_to_authorize_spec.rb b/spec/integration/how_to_authorize_spec.rb index <HASH>..<HASH> 100644 --- a/spec/integration/how_to_authorize_spec.rb +++ b/spec/integration/how_to_authorize_spec.rb @@ -71,6 +71,10 @@ describe "Authorizing read/write requests" do welcome_board.id.should =...
[PENDING] Authorizing read/write requests, cannot close a board yet (Client#put required)
jeremytregunna_ruby-trello
train
rb
aaafa0c6b19888c3d91fddd380d0a697afc4b19c
diff --git a/node-binance-api.js b/node-binance-api.js index <HASH>..<HASH> 100644 --- a/node-binance-api.js +++ b/node-binance-api.js @@ -4244,6 +4244,11 @@ let api = function Binance( options = {} ) { return promiseRequest( 'v1/leverageBracket', params, { base:dapi, type:'USER_DATA' } ); }, + ...
Add V2 leverage brackets endpoint for coin futures
jaggedsoft_node-binance-api
train
js
c80baef30ee581c4c4b20aa35cde492f8b9dec18
diff --git a/tests/aws/models/compute/server_tests.rb b/tests/aws/models/compute/server_tests.rb index <HASH>..<HASH> 100644 --- a/tests/aws/models/compute/server_tests.rb +++ b/tests/aws/models/compute/server_tests.rb @@ -47,6 +47,8 @@ Shindo.tests("Fog::Compute[:aws] | monitor", ['aws']) do tests('tags') do @...
[aws|compute] wait for ready before testing tags
fog_fog
train
rb
3c32a5df6d5f621c3c2e2937858cd5c4d4862495
diff --git a/src/styles/points/points.js b/src/styles/points/points.js index <HASH>..<HASH> 100755 --- a/src/styles/points/points.js +++ b/src/styles/points/points.js @@ -452,7 +452,12 @@ Object.assign(Points, { draw.placement_min_length_ratio = StyleParser.createPropertyCache(draw.placement_min_length_ratio, ...
return value for `angle` JS function should expect degrees and convert to radians
tangrams_tangram
train
js
f30709a99f2aae7a2ad98824a4c5d25caace45a3
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ def read(filename): if __name__ == '__main__': setup( name='stacker', - version='0.1.1', + version='0.1.2', author='Michael Barrett', author_email='loki77@gmail.com...
Releasing <I> to clean up pypi README
cloudtools_stacker
train
py
f7a7a3caedf4fbed59328b805fba88e1014ff503
diff --git a/Assets/js/UI/Components/ToggleButton.js b/Assets/js/UI/Components/ToggleButton.js index <HASH>..<HASH> 100644 --- a/Assets/js/UI/Components/ToggleButton.js +++ b/Assets/js/UI/Components/ToggleButton.js @@ -9,16 +9,17 @@ Amarkal.UI.register({ var value = []; var parent = $(this).pa...
Prevent disabled state from firing change events
askupasoftware_amarkal
train
js
35b6e5284e9f5c30659dc29ef633d38e5c893b25
diff --git a/src/Component/Definition/Grid.php b/src/Component/Definition/Grid.php index <HASH>..<HASH> 100644 --- a/src/Component/Definition/Grid.php +++ b/src/Component/Definition/Grid.php @@ -99,6 +99,14 @@ class Grid } /** + * @param array $driverConfiguration + */ + public function setDriver...
[Grid] Allow to use YAML magic in driver configuration
Sylius_SyliusGridBundle
train
php,php
3d1b2bc672516ea7d41e53229a9102cbd2d53b3e
diff --git a/i3ipc/i3ipc.py b/i3ipc/i3ipc.py index <HASH>..<HASH> 100644 --- a/i3ipc/i3ipc.py +++ b/i3ipc/i3ipc.py @@ -639,7 +639,8 @@ class Connection(object): timer = None if timeout: - timer = Timer(timeout, self.main_quit).start() + timer = Timer(timeout, se...
Fix: timer is always None Timer.start() returns None. 'timer' was always None and never got cancelled.
acrisci_i3ipc-python
train
py
8d313b23f83077aa4ff0de99a23b37ffc4c5ac3b
diff --git a/noodles/run/xenon/dynamic_pool.py b/noodles/run/xenon/dynamic_pool.py index <HASH>..<HASH> 100644 --- a/noodles/run/xenon/dynamic_pool.py +++ b/noodles/run/xenon/dynamic_pool.py @@ -77,7 +77,7 @@ def xenon_interactive_worker( if len(lines) == 1: continue - ...
fix issue that only appeared on travis, read_output would sometimes yield a tuple
NLeSC_noodles
train
py
647474ae89532e15954e133560797aa9a004bda7
diff --git a/fake2db/sqlite_handler.py b/fake2db/sqlite_handler.py index <HASH>..<HASH> 100644 --- a/fake2db/sqlite_handler.py +++ b/fake2db/sqlite_handler.py @@ -42,7 +42,7 @@ class Fake2dbSqliteHandler(): returns the related connection object which will be later used to spawn the cursor '''...
remove extra line in sqlite handler
emirozer_fake2db
train
py
26b428f76f046ccfe31869a43731e8836293c135
diff --git a/spec/bitbucket_rest_api/validations/token_spec.rb b/spec/bitbucket_rest_api/validations/token_spec.rb index <HASH>..<HASH> 100644 --- a/spec/bitbucket_rest_api/validations/token_spec.rb +++ b/spec/bitbucket_rest_api/validations/token_spec.rb @@ -10,6 +10,7 @@ describe BitBucket::Validations::Token do ...
Improve token_spec by testing validates_token_for with path matching regexp
bitbucket-rest-api_bitbucket
train
rb
e5566fad8a28699d99fbed181b0b55fe8e1136b0
diff --git a/app/controllers/impressionist_controller.rb b/app/controllers/impressionist_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/impressionist_controller.rb +++ b/app/controllers/impressionist_controller.rb @@ -48,11 +48,11 @@ module ImpressionistController end def unique_instanc...
speedup unique impressions by using "Impression#exists?" instead of "#Impression#size == 0"
charlotte-ruby_impressionist
train
rb
3c58e455e435f2d6d40157e115a8bdbe3d426283
diff --git a/src/sticky-sidebar.js b/src/sticky-sidebar.js index <HASH>..<HASH> 100644 --- a/src/sticky-sidebar.js +++ b/src/sticky-sidebar.js @@ -629,6 +629,7 @@ const StickySidebar = (() => { */ static offsetRelative(element){ var result = {left: 0, top: 0}; + do{ let offse...
Support getting top offset for margins that set on <html> tag.
abouolia_sticky-sidebar
train
js
9f0c9802c26c3eb75d1b12dab9edfa4b01487585
diff --git a/salt/cloud/clouds/nova.py b/salt/cloud/clouds/nova.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/nova.py +++ b/salt/cloud/clouds/nova.py @@ -38,8 +38,6 @@ examples could be set up in the cloud configuration at .. code-block:: yaml my-openstack-config: - # The ID of the minion that wil...
remove reference to auth_minion. Support for this option was removed years ago and is no longer needed.
saltstack_salt
train
py
7a1a79a27090e3dab0cd3311c8f7c696bd10c3f7
diff --git a/python_utils/logger.py b/python_utils/logger.py index <HASH>..<HASH> 100644 --- a/python_utils/logger.py +++ b/python_utils/logger.py @@ -23,7 +23,7 @@ class Logged(object): ''' def __new__(cls, *args, **kwargs): cls.logger = logging.getLogger( - cls.__get_name(__name__, cls._...
improved logged module to include the module name when logging
WoLpH_python-utils
train
py
50e6d7b9e1db7cededf59d7387885ae740321417
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -29,8 +29,8 @@ require('./lib/rollbar') const conn = await amqp.connect(env.AMQP_URL) const channel = await conn.createChannel() - // only allow 128 items to pile up - channel.prefetch(128) + // only allow 256 items...
feat: collect per-user queue metrics, handle more concurrent jobs
greenkeeperio_greenkeeper
train
js
6b025aa14b4cc277d8de39e0c5e5269688b498e4
diff --git a/src/main/java/com/cx/plugin/utils/CxPluginUtils.java b/src/main/java/com/cx/plugin/utils/CxPluginUtils.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/cx/plugin/utils/CxPluginUtils.java +++ b/src/main/java/com/cx/plugin/utils/CxPluginUtils.java @@ -48,7 +48,6 @@ public abstract class CxPluginUtils...
bugid: <I> CR_by: n/a
cxadmin_checkmarx-plugin
train
java
df1040cdd5293ec9f7724eaac98c60ce13851e34
diff --git a/core/src/main/java/hudson/model/Fingerprint.java b/core/src/main/java/hudson/model/Fingerprint.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/hudson/model/Fingerprint.java +++ b/core/src/main/java/hudson/model/Fingerprint.java @@ -1469,7 +1469,7 @@ public class Fingerprint implements ModelObject...
Make Fingerprint's XSTREAM field public Some plugins needs to register compatibility alias etc for their FingerprintFacets.
jenkinsci_jenkins
train
java
36d57b02314ff31bba4fcecccb433aeb4f5b8756
diff --git a/visidata/shell.py b/visidata/shell.py index <HASH>..<HASH> 100644 --- a/visidata/shell.py +++ b/visidata/shell.py @@ -13,7 +13,7 @@ except ImportError: from visidata import Column, Sheet, LazyComputeRow, asynccache, options, option, globalCommand from visidata import Path, ENTER, date, asyncthread, con...
[defer-] include missing import
saulpw_visidata
train
py
fcf70094337638136f86f2b8258270c53a4ab73e
diff --git a/reflections/__init__.py b/reflections/__init__.py index <HASH>..<HASH> 100644 --- a/reflections/__init__.py +++ b/reflections/__init__.py @@ -1 +1 @@ -from .reflect import reflect, default_extractor +from .reflect import reflect, default_extractor, module_extractor diff --git a/reflections/reflect.py b/ref...
[DONE] module_extractor
JoMingyu_Reflections
train
py,py
161cf6572a20b50cc56ca388ab283ee78f99554d
diff --git a/lib/yelp/client.rb b/lib/yelp/client.rb index <HASH>..<HASH> 100644 --- a/lib/yelp/client.rb +++ b/lib/yelp/client.rb @@ -25,8 +25,9 @@ module Yelp token: @token, token_secret: @token_secret } - @connection ||= Faraday.new API_HOST do |conn| + @connection = Farad...
Set the adapter to net/http
Yelp_yelp-ruby
train
rb
33dc2c8353a712888542eabe899006dcfa2765d8
diff --git a/openid.php b/openid.php index <HASH>..<HASH> 100644 --- a/openid.php +++ b/openid.php @@ -349,7 +349,7 @@ class LightOpenID $this->headers = $this->parse_header_array($http_response_header, $update_claimed_id); } - return file_get_contents($url, false, $context); + ret...
Fixed a bug causing validation failure when using streams.
Mewp_lightopenid
train
php
695c4f9c0aadfba048fa1a038b1d2934e7bc6e66
diff --git a/ui/ContainerEditor.js b/ui/ContainerEditor.js index <HASH>..<HASH> 100644 --- a/ui/ContainerEditor.js +++ b/ui/ContainerEditor.js @@ -417,11 +417,13 @@ ContainerEditor.Prototype = function() { args.containerId = this.getContainerId(); args.editingBehavior = this.editingBehavior; var re...
Increase robustness (in ContainerEditor).
substance_substance
train
js
49933b589b57b82cb5fcb5c46bbf67700c57b641
diff --git a/core.js b/core.js index <HASH>..<HASH> 100644 --- a/core.js +++ b/core.js @@ -372,10 +372,10 @@ core.init = function(options, callback) // Can only watch existing files corelib.forEach([self.confFile, self.confFile + ".local"], function(file, next2) { fs.exists(fi...
Updated docs, minor bugfixes
vseryakov_backendjs
train
js
5be50d6730c8a5cb39a076f5bb28e79414573b51
diff --git a/src/watoki/curir/resource/DynamicResource.php b/src/watoki/curir/resource/DynamicResource.php index <HASH>..<HASH> 100644 --- a/src/watoki/curir/resource/DynamicResource.php +++ b/src/watoki/curir/resource/DynamicResource.php @@ -17,7 +17,7 @@ abstract class DynamicResource extends Resource { /** @var...
Parent of a DynamicResource can be a DynamicResource
watoki_curir
train
php
326e563a43f9ebe3dda3dfeebe070f3dfa41c2ed
diff --git a/lib/setup.php b/lib/setup.php index <HASH>..<HASH> 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -207,7 +207,7 @@ global $HTTPSPAGEREQUIRED; configure_dbconnection(); /// Load up any configuration from the config table - $CFG->rcache = false; + unset($CFG->rcache); $CFG = get_config(...
Prevent an rcache-related notice
moodle_moodle
train
php
2d421a9db9ddc6223c35972291afe37bc2b20c68
diff --git a/tests/signals.py b/tests/signals.py index <HASH>..<HASH> 100644 --- a/tests/signals.py +++ b/tests/signals.py @@ -133,6 +133,20 @@ class TestSignals(ModelTestCase): sender=A) signals.post_save.disconnect(post_save) + def test_function_reuse(self): + state = [...
Test registering same signal handler twice with diff senders.
coleifer_peewee
train
py
8643f58b66e8776abb0f930ed31b94289ab2488c
diff --git a/packages/LUIS/bin/luis.js b/packages/LUIS/bin/luis.js index <HASH>..<HASH> 100644 --- a/packages/LUIS/bin/luis.js +++ b/packages/LUIS/bin/luis.js @@ -77,7 +77,7 @@ async function runProgram() { args.authoringKey = args.authoringKey || serviceIn.authoringKey || config.authoringKey; args.subscripti...
add version fallback for versionId (#<I>)
Microsoft_botbuilder-tools
train
js
ba36b4c8c37c5412c6594a3c45a006ed3ae8be2b
diff --git a/Storage/StorageManager.php b/Storage/StorageManager.php index <HASH>..<HASH> 100644 --- a/Storage/StorageManager.php +++ b/Storage/StorageManager.php @@ -266,6 +266,9 @@ class StorageManager while (!feof($resource)) { $str = fread($resource, 8192); + if ($str ...
bug(param-type): addChunk does not accept false as 2 param
ems-project_EMSCommonBundle
train
php
affbf6475c6490396ba7ae8410aed5426499b631
diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index <HASH>..<HASH> 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -114,7 +114,7 @@ use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; * * - sy...
Clarify syslog facility usage
symfony_monolog-bundle
train
php
5eb49fcc11c9f2e785e1085f1ba9d2330293648d
diff --git a/tests/test_xml.py b/tests/test_xml.py index <HASH>..<HASH> 100644 --- a/tests/test_xml.py +++ b/tests/test_xml.py @@ -45,4 +45,19 @@ class TestDataError(object): with pytest.raises(overpy.exception.ElementDataWrongType): overpy.Way.from_xml( self._get_element_wrong_ty...
test - Add xml tests with missing or wrong attributes
DinoTools_python-overpy
train
py
46f3ca3e244a31e1832a4c642f7e4e9c1e2c6b3c
diff --git a/Tests/Service/TwilioWrapperTest.php b/Tests/Service/TwilioWrapperTest.php index <HASH>..<HASH> 100644 --- a/Tests/Service/TwilioWrapperTest.php +++ b/Tests/Service/TwilioWrapperTest.php @@ -32,4 +32,16 @@ class TwilioWrapperTest extends \PHPUnit_Framework_TestCase //check class $this->ass...
Added unit test for createCapability
fridolin-koch_VreshTwilioBundle
train
php
c8f7eaef772634098a99d25ff19f1d42678ee8a5
diff --git a/session/rest.go b/session/rest.go index <HASH>..<HASH> 100644 --- a/session/rest.go +++ b/session/rest.go @@ -59,7 +59,7 @@ func (r *RestTransport) DoRequest(sess *Session, service string, method string, options) if err != nil { - return fmt.Errorf("Error during HTTP request: %s", err) + return s...
Avoid masking HTTP net.Error (#<I>)
softlayer_softlayer-go
train
go
67efefa13a3303f1d16aa945b6b4abbb81a0e6b7
diff --git a/test/Deployer/ToolTest.php b/test/Deployer/ToolTest.php index <HASH>..<HASH> 100644 --- a/test/Deployer/ToolTest.php +++ b/test/Deployer/ToolTest.php @@ -146,7 +146,7 @@ class ToolTest extends \PHPUnit_Framework_TestCase $this->deployer($remoteFactory); connect('localhost', 'user', 'pas...
Add support for php <I> in tests. :whale:
deployphp_deployer
train
php
fa98090cf68444b3ed07097fd8ba62f77c5d90e1
diff --git a/pyemma/coordinates/transform/pca.py b/pyemma/coordinates/transform/pca.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/transform/pca.py +++ b/pyemma/coordinates/transform/pca.py @@ -61,7 +61,7 @@ class PCA(StreamingTransformer, ProgressReporter): r""" Principal component analysis.""" _ser...
[pca] added missing skip argument
markovmodel_PyEMMA
train
py
650c96e3c7be8b0014fad62278d2bf88e16bee34
diff --git a/docs/examples/avatar.js b/docs/examples/avatar.js index <HASH>..<HASH> 100644 --- a/docs/examples/avatar.js +++ b/docs/examples/avatar.js @@ -1,6 +1,11 @@ class AvatarExample extends Component { render() { - return <Avatar image="https://randomuser.me/api/portraits/women/50.jpg" />; + return ( + ...
Update Avatar examples to include Initials
jamesplease_materialish
train
js
b3cb78c51da587475a77ffef1229ecb6bf89165e
diff --git a/src/test/java/org/jdbdt/QueryBuilderTest.java b/src/test/java/org/jdbdt/QueryBuilderTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/jdbdt/QueryBuilderTest.java +++ b/src/test/java/org/jdbdt/QueryBuilderTest.java @@ -225,7 +225,6 @@ public class QueryBuilderTest extends DBTestCase { ....
QueryBuilderTest: erased debug code
JDBDT_jdbdt
train
java
e5eda079c7ec5879306d21ee60618caf039c0991
diff --git a/cozy_management/migration.py b/cozy_management/migration.py index <HASH>..<HASH> 100644 --- a/cozy_management/migration.py +++ b/cozy_management/migration.py @@ -92,8 +92,11 @@ def migrate_2_node4(): helpers.cmd_exec('apt-get install -y cozy', show_output=True) helpers.cmd_exec('npm install -g co...
Rebuild cozy stack before restart. And update all apps after.
cozy_python_cozy_management
train
py
cea4754c77c24b20410579a16cc6f99443489b59
diff --git a/sacn/sending/output_thread.py b/sacn/sending/output_thread.py index <HASH>..<HASH> 100644 --- a/sacn/sending/output_thread.py +++ b/sacn/sending/output_thread.py @@ -30,6 +30,7 @@ class OutputThread(threading.Thread): self.universeDiscovery: bool = universe_discovery self.manual_flush: bo...
Fix: Sequence number in sync packets now increments. Previously the sequence number in sync packets was set to 0 and never incremented as required by the standard.
Hundemeier_sacn
train
py
5c2c1baeb184011111876fdb000181bc8004ebbf
diff --git a/Entity/User.php b/Entity/User.php index <HASH>..<HASH> 100755 --- a/Entity/User.php +++ b/Entity/User.php @@ -60,7 +60,7 @@ class User extends BaseUser /** * @var ArrayCollection * - * @ORM\OneToMany(targetEntity="AuthLog", mappedBy="user") + * @ORM\OneToMany(targetEntity="AuthLog"...
user deletion causes auth log deletion (cascade)
xmmedia_XMSecurityBundle
train
php
370de3564ad680c33aa1130031681bea76cb196e
diff --git a/lib/commands/prepare.js b/lib/commands/prepare.js index <HASH>..<HASH> 100644 --- a/lib/commands/prepare.js +++ b/lib/commands/prepare.js @@ -1,6 +1,7 @@ 'use strict'; var PrepareTask = require('../tasks/prepare'); +var HookTask = require('../tasks/run-hook'); var path = require(...
feat(prepare hooks): implement
isleofcode_ember-cordova
train
js
1145131a3ff2433dd97b2b7861844f051774e0f8
diff --git a/application.go b/application.go index <HASH>..<HASH> 100644 --- a/application.go +++ b/application.go @@ -64,6 +64,7 @@ type Application struct { UpgradeStrategy *UpgradeStrategy `json:"upgradeStrategy,omitempty"` Uris []string `json:"uris,omitempty"` Version ...
VersionInfo values on app objects are now parsed.
gambol99_go-marathon
train
go
baeff4cc66dc3db636664075961138217ceb4b35
diff --git a/lib/zendesk2.rb b/lib/zendesk2.rb index <HASH>..<HASH> 100644 --- a/lib/zendesk2.rb +++ b/lib/zendesk2.rb @@ -12,6 +12,7 @@ require 'forwardable' require 'logger' require 'time' require 'yaml' +require 'uri' module Zendesk2 require 'zendesk2/attributes' diff --git a/lib/zendesk2/client.rb b/lib/ze...
corrected URI reference so it uses the standard lib
lanej_zendesk2
train
rb,rb
d10164958b9063954487543d4462101d9eb909c6
diff --git a/lib/rack/reverse_proxy.rb b/lib/rack/reverse_proxy.rb index <HASH>..<HASH> 100644 --- a/lib/rack/reverse_proxy.rb +++ b/lib/rack/reverse_proxy.rb @@ -164,7 +164,7 @@ module Rack match_path(path).to_a.each_with_index { |m, i| _url.gsub!("$#{i.to_s}", m) } URI(_url) else - URI...
Fixed url for matched routes when setting the url using the matcher
waterlink_rack-reverse-proxy
train
rb
76cb2fd8a2f3827472d36ff07819301dcd294642
diff --git a/src/Frozennode/Administrator/DataTable/Columns/Relationships/Relationship.php b/src/Frozennode/Administrator/DataTable/Columns/Relationships/Relationship.php index <HASH>..<HASH> 100644 --- a/src/Frozennode/Administrator/DataTable/Columns/Relationships/Relationship.php +++ b/src/Frozennode/Administrator/Da...
fixes a bug where soft deletes are not being properly detected in L5.
FrozenNode_Laravel-Administrator
train
php
5eaaf890012bca66ef195978e7b32e55b5c0255a
diff --git a/lib/adhearsion/call_controller/dial.rb b/lib/adhearsion/call_controller/dial.rb index <HASH>..<HASH> 100644 --- a/lib/adhearsion/call_controller/dial.rb +++ b/lib/adhearsion/call_controller/dial.rb @@ -85,7 +85,7 @@ module Adhearsion no_timeout = latch.wait options[:timeout] status.timeou...
[CS] Cleaner collection of call IDs into a string
adhearsion_adhearsion
train
rb
89e3066f4fc4a77907e1136c01e7bbcb24f89d0b
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,5 @@ +'use strict'; + /* * index.js: Create an http AND/OR an https server and call the same request handler. * @@ -45,7 +47,7 @@ module.exports = function createServers(options, listening) { if (typeof...
[minor] Use strict mode to capture potential issues.
indexzero_create-servers
train
js
c9917d567b3dad57b410153ada48cb8296ea5ca4
diff --git a/public/js/editors/panel.js b/public/js/editors/panel.js index <HASH>..<HASH> 100644 --- a/public/js/editors/panel.js +++ b/public/js/editors/panel.js @@ -582,6 +582,9 @@ function populateEditor(editor, panel) { } else { // otherwise fall back on the JS Bin default editor.setCode(template[panel]...
Clear undo history after initial populate Fixes #<I>
jsbin_jsbin
train
js
d497222d86cad5c1a0478e146c46c1be1eb77294
diff --git a/connect.go b/connect.go index <HASH>..<HASH> 100644 --- a/connect.go +++ b/connect.go @@ -576,7 +576,7 @@ func (c *VirConnection) LookupDomainByName(id string) (VirDomain, error) { return VirDomain{ptr: ptr}, nil } -func (c *VirConnection) LookupByUUIDString(uuid string) (VirDomain, error) { +func (c ...
Rename API for looking up domain by UUID The lookup APIs against virConnect should include the object name in their name.
libvirt_libvirt-go
train
go,go
855e76fddd8c5f0e024a536c0466f7578fcb592d
diff --git a/core/chain_manager.go b/core/chain_manager.go index <HASH>..<HASH> 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -36,7 +36,7 @@ var ( ) const ( - blockCacheLimit = 10000 + blockCacheLimit = 256 maxFutureBlocks = 256 maxTimeFutureBlocks = 30 )
core: reduced cache limit to <I>
ethereum_go-ethereum
train
go
02ea31381619842d7a52f3a2e227462fc8b12bbc
diff --git a/lib/url/analyzers/index-of.js b/lib/url/analyzers/index-of.js index <HASH>..<HASH> 100644 --- a/lib/url/analyzers/index-of.js +++ b/lib/url/analyzers/index-of.js @@ -14,7 +14,8 @@ function stripQuery(location) { parsed.search = '' return normalize(parsed.toString(), { - stripWWW: false + stri...
Stop removing trailing slashes in index-of URLs This fixes an issue with some urls requiring the trailing slash.
geodatagouv_plunger
train
js
dc219f7ad0d246cc55392025e34adcdea5daa1b7
diff --git a/lib/sinatra.rb b/lib/sinatra.rb index <HASH>..<HASH> 100644 --- a/lib/sinatra.rb +++ b/lib/sinatra.rb @@ -117,6 +117,7 @@ module Sinatra app = application app = Rack::Session::Cookie.new(app) if Sinatra.options.sessions == true app = Rack::CommonLogger.new(app) if Sinatra.options.logging == ...
Make sure build_application actually returns the application
sinatra_sinatra
train
rb
da3402a53dbb77e1d1ed55bfe8c0ec890ed5330d
diff --git a/tests/integration/states/npm.py b/tests/integration/states/npm.py index <HASH>..<HASH> 100644 --- a/tests/integration/states/npm.py +++ b/tests/integration/states/npm.py @@ -54,7 +54,8 @@ class NpmStateTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn): ret = self.run_state('npm.inst...
make sure cmd is not run when npm isn't installed apparently the skipIf on the functions still get run, even if the function is going to be skipped based on a skipIf on the class.
saltstack_salt
train
py
0f62e735c27e059e2a259a9e9cb989fa7074810a
diff --git a/src/Exceptions/RequiresViewReconfigurationException.php b/src/Exceptions/RequiresViewReconfigurationException.php index <HASH>..<HASH> 100644 --- a/src/Exceptions/RequiresViewReconfigurationException.php +++ b/src/Exceptions/RequiresViewReconfigurationException.php @@ -31,9 +31,4 @@ use Rhubarb\Crown\Excep...
Removed unchanged constructor override
RhubarbPHP_Module.Leaf
train
php
a4defd09e03053c9a0a7db14234e8999990320f5
diff --git a/polyaxon/scheduler/job_scheduler.py b/polyaxon/scheduler/job_scheduler.py index <HASH>..<HASH> 100644 --- a/polyaxon/scheduler/job_scheduler.py +++ b/polyaxon/scheduler/job_scheduler.py @@ -6,6 +6,7 @@ from django.conf import settings from constants.jobs import JobLifeCycle from docker_images.image_inf...
Use sidecar for job spawner
polyaxon_polyaxon
train
py
a4634bfa924d763a08ff2ef07c5d46f2adf6f7f0
diff --git a/lib/serif/site.rb b/lib/serif/site.rb index <HASH>..<HASH> 100644 --- a/lib/serif/site.rb +++ b/lib/serif/site.rb @@ -23,7 +23,19 @@ module Filters end def markdown(body) - Redcarpet::Markdown.new(Serif::MarkupRenderer, fenced_code_blocks: true).render(body).strip + renderer = Redcarpet::Mark...
Fix lack of single curly quotes in 'markdown' filter. This is needed because of a bug in vmg/redcarpet#<I>. There is a test assertion in test_helper to verify that this is actually necessary, and the condition means it will automatically turn off should redcarpet have this bug fixed for the user.
aprescott_serif
train
rb
f5c6ab7b827181b7191d5e5b51beda92b9cd46ce
diff --git a/test/jade.js b/test/jade.js index <HASH>..<HASH> 100644 --- a/test/jade.js +++ b/test/jade.js @@ -30,7 +30,7 @@ describe('jade', function() { }).throw(); }); - it('should work with jsreport syntax', function () { + it('should work with jsreport syntax', function() { var html = tonerJade('i...
[refactor] code style in test
bjrmatos_toner-jade
train
js
efbcce5b1a9289dfa64ba33d385613b7cbc93a8a
diff --git a/StMarksColors.php b/StMarksColors.php index <HASH>..<HASH> 100644 --- a/StMarksColors.php +++ b/StMarksColors.php @@ -29,7 +29,7 @@ class StMarksColors { private static function initialize() { self::$colors = array( - self::STMARKS_BLUE => new Color('003359', 'ffffff', null, '5588af'), + self::S...
Updated St. Mark's Blue
smtech_stmarks-colors
train
php
d692b8e0047e1bc6b01d48b5be979c1af0b0b494
diff --git a/spec/adapter_shared_example.rb b/spec/adapter_shared_example.rb index <HASH>..<HASH> 100644 --- a/spec/adapter_shared_example.rb +++ b/spec/adapter_shared_example.rb @@ -18,6 +18,12 @@ shared_examples_for "an adapter" do |adapter| end end + it 'dumps time in correct format' do + time ...
Added a spec to check if time format is consistent across adapters
intridea_multi_json
train
rb
2a3d527692b84600b402e8374e2828178e6b6074
diff --git a/src/main/java/com/contentful/java/cda/CDAClient.java b/src/main/java/com/contentful/java/cda/CDAClient.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/contentful/java/cda/CDAClient.java +++ b/src/main/java/com/contentful/java/cda/CDAClient.java @@ -262,7 +262,7 @@ public class CDAClient { */ ...
polish: remove casting of null this is not needed anymore
contentful_contentful.java
train
java
bec98cca8a765743cf990f5807f5d52b95dd5d9e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -31,6 +31,7 @@ setup( 'more_itertools', 'vecrec', 'autoprop', + 'debugtools', ], license='MIT', zip_safe=False,
Add debugtools as a dependency.
kxgames_glooey
train
py
3750dfdb0617925e2beb2c4e7f75c5eab1f28389
diff --git a/brototype.js b/brototype.js index <HASH>..<HASH> 100644 --- a/brototype.js +++ b/brototype.js @@ -163,12 +163,14 @@ define(function() { return Bro; }); - } else if (typeof(angular) !== 'undefined') { - angular.module('brototype', []).factory('Bro...
works in CMD & angularjs
letsgetrandy_brototype
train
js
fcbc1a34cd404bfd3007707ab24bc27c94194961
diff --git a/cordova-lib/src/cordova/create.js b/cordova-lib/src/cordova/create.js index <HASH>..<HASH> 100644 --- a/cordova-lib/src/cordova/create.js +++ b/cordova-lib/src/cordova/create.js @@ -98,7 +98,12 @@ function create(dir, id, name, cfg) { var www_version = config_json.lib.www.version || 'not_versioned...
CB-<I> Improve test for is source path ancestor when using copy-from or link-to
apache_cordova-lib
train
js
33d8b5b00305aa302585534781c12f41ebc98352
diff --git a/activiti-webapp-explorer/src/main/webapp/components/processes/processes.js b/activiti-webapp-explorer/src/main/webapp/components/processes/processes.js index <HASH>..<HASH> 100644 --- a/activiti-webapp-explorer/src/main/webapp/components/processes/processes.js +++ b/activiti-webapp-explorer/src/main/webapp...
Resource-name that starts with forward slash should be escaped in URL
camunda_camunda-bpm-platform
train
js
5847f0d31b025ed2d503ed167023abcf9a70c268
diff --git a/lib/handlers/file-proxy.js b/lib/handlers/file-proxy.js index <HASH>..<HASH> 100644 --- a/lib/handlers/file-proxy.js +++ b/lib/handlers/file-proxy.js @@ -191,6 +191,7 @@ module.exports = function(req, res, next) { if (range) { headers['content-range'] = 'bytes ' + (range.start + '-' + r...
feat: supports response `<I> Partial Content` in Map Local
avwo_whistle
train
js,js
b6a64d342ff93ca1b9cc76d010603a28d610f56a
diff --git a/src/ModuleRepository.php b/src/ModuleRepository.php index <HASH>..<HASH> 100644 --- a/src/ModuleRepository.php +++ b/src/ModuleRepository.php @@ -135,7 +135,9 @@ class ModuleRepository $sortedModules = []; foreach ($sorting AS $moduleName) { - $sortedModules[$moduleName] = $this->modules[$moduleN...
fix: trying to sort module that already doesn't exists (but persist in cache) - ex.: while removing module from composer
grape-fluid_grape-fluid
train
php
0accdddb34bc297537c95e6e4a18d9f7ff17d4df
diff --git a/redash_client.py b/redash_client.py index <HASH>..<HASH> 100644 --- a/redash_client.py +++ b/redash_client.py @@ -1,6 +1,7 @@ import json import string import requests +import itertools from constants import VizType, ChartType class RedashClient(object): @@ -125,9 +126,9 @@ class RedashClient(object...
Fix bug where not all widgets of a dashboard were returned.
mozilla_redash_client
train
py
fe5c369fe9348b9d68aeab14949802fbd15ef46f
diff --git a/discord/voice_client.py b/discord/voice_client.py index <HASH>..<HASH> 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -57,7 +57,7 @@ log = logging.getLogger(__name__) from . import utils, opus from .gateway import * -from .errors import ClientException, InvalidArgument +from .err...
Handle voice websocket closure if it's a successful close.
Rapptz_discord.py
train
py
b69c19742080ab3f46f487ae4e4d45d7330edff5
diff --git a/parsl/configs/wqex_local.py b/parsl/configs/wqex_local.py index <HASH>..<HASH> 100644 --- a/parsl/configs/wqex_local.py +++ b/parsl/configs/wqex_local.py @@ -4,11 +4,10 @@ from parsl.executors import WorkQueueExecutor config = Config( executors=[ WorkQueueExecutor( - label="wqex_l...
Fix example WQ configuration: (#<I>) - project_name should not have spaces - shared_fs should be false by default for robustness - see_worker_output is not a valid flag.
Parsl_parsl
train
py
c47546593c89dccf455cc0bcadb28fe53d7cbcf6
diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/data.rb +++ b/lib/discordrb/data.rb @@ -2550,6 +2550,7 @@ module Discordrb # @!visibility private def add_channel(channel) @channels << channel + @channels_by_id[channel.id] = channel en...
Also update the channels_by_id hash in add_channel, fixes #<I>
meew0_discordrb
train
rb
751eca36830d996b2e9dfd6727d8e5ef24bd8351
diff --git a/src/Document.php b/src/Document.php index <HASH>..<HASH> 100644 --- a/src/Document.php +++ b/src/Document.php @@ -85,6 +85,10 @@ class Document extends \DOMDocument * {@inheritdoc} */ public function setHtml($html) { + if (!is_string($html) || trim($html) == '') { + retur...
Misc, reverted previous change to Document::setHtml and added additional checking.
scotteh_php-dom-wrapper
train
php,php
ddd66a6d7d9e020e0789c592ef52f42366ae2ee3
diff --git a/minimongo/model.py b/minimongo/model.py index <HASH>..<HASH> 100644 --- a/minimongo/model.py +++ b/minimongo/model.py @@ -89,7 +89,7 @@ class ModelBase(type): index.ensure(mcs.collection) class AttrDict(dict): - def __init__(self, initial=None): + def __init__(self, initial=None, **kw...
Make AttrDict (and therefore Model) accept initial values by name, like in the doc string: >>> class Foo(Model): ... class Meta: ... database = 'somewhere' ... indices = ( ... Index('bar', unique=True), ... ) ... >>> foo = Foo(bar=<I>) >>> foo...
slacy_minimongo
train
py
c17bfd40e05d8355e41bc7f16da31c8dce53dfa4
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -54,6 +54,10 @@ Watch.prototype._findBuild = function (builds) { return builds.find(b => b.commit_id === this.state.commit.id) } +Watch.prototype._link = function () { + return `https://travis-ci.org/${this.state.repo[0...
refactor. #<I>
juliangruber_appveyor-watch
train
js
754ae575303fa9e59694a1c2357ecdde789df5aa
diff --git a/examples/app/downloads/downloads.py b/examples/app/downloads/downloads.py index <HASH>..<HASH> 100644 --- a/examples/app/downloads/downloads.py +++ b/examples/app/downloads/downloads.py @@ -1,3 +1,5 @@ +from __future__ import print_function + import os import sys import gzip @@ -203,4 +205,8 @@ Download...
Catch KeyboardInterrupt in app/downloads example
bokeh_bokeh
train
py
26be5fa9f47908b1d879498efcfeaa63b9b688f3
diff --git a/lib/signers/s3.js b/lib/signers/s3.js index <HASH>..<HASH> 100644 --- a/lib/signers/s3.js +++ b/lib/signers/s3.js @@ -35,7 +35,7 @@ AWS.Signers.S3 = inherit(AWS.Signers.RequestSigner, { 'partNumber': 1, 'policy': 1, 'requestPayment': 1, - 'restore': 1 + 'restore': 1, 'tagging': 1,...
... but don't forget trailing comma.
aws_aws-sdk-js
train
js
0b1f4bd0b32504e4dd5e94ff5b5c22b9d9ff0e78
diff --git a/spec/integration/util/execution_spec.rb b/spec/integration/util/execution_spec.rb index <HASH>..<HASH> 100644 --- a/spec/integration/util/execution_spec.rb +++ b/spec/integration/util/execution_spec.rb @@ -1,17 +1,19 @@ require 'spec_helper' describe Puppet::Util::Execution do - describe "#execpipe" d...
Don't run LANG/LC_ALL tests on windows
puppetlabs_puppet
train
rb
85c743fac2563b4bb82a21c48f909ae70302960c
diff --git a/collectors/block_editor.php b/collectors/block_editor.php index <HASH>..<HASH> 100644 --- a/collectors/block_editor.php +++ b/collectors/block_editor.php @@ -94,9 +94,10 @@ class QM_Collector_Block_Editor extends QM_Collector { $timing = array_shift( $this->block_timing ); - $block['dynamic'] = $d...
Trim the inner HTML of blocks inside the collector instead of during output.
johnbillion_query-monitor
train
php,php
66e0b916e487c45f47b0f825033dfdddee07b5e8
diff --git a/pyghmi/util/webclient.py b/pyghmi/util/webclient.py index <HASH>..<HASH> 100644 --- a/pyghmi/util/webclient.py +++ b/pyghmi/util/webclient.py @@ -63,6 +63,8 @@ class SecureHTTPConnection(httplib.HTTPConnection, object): rsp = self.getresponse() if rsp.status == 200: return js...
Fix webclient viability after error When error encountered, we still need to consume the response with rsp.read(), or else a subsequent request will fail. Change-Id: Ica4f<I>cadf<I>a<I>af3e<I>a1ee6d<I>e<I>f7fc<I>
openstack_pyghmi
train
py
2bd42dc1c74073e00fd64a49510a38403e10d3e3
diff --git a/src/CrawlLogger.php b/src/CrawlLogger.php index <HASH>..<HASH> 100644 --- a/src/CrawlLogger.php +++ b/src/CrawlLogger.php @@ -66,7 +66,7 @@ class CrawlLogger implements CrawlObserver } if ($this->outputFile && $colorTag === 'error') { - file_put_contents($this->outputFile, $m...
Appending urls in log file instead of overwriting them (#<I>)
spatie_http-status-check
train
php
af2a011df2a29520ed55216c32dfb84b9f018b38
diff --git a/activerecord/test/models/subject.rb b/activerecord/test/models/subject.rb index <HASH>..<HASH> 100644 --- a/activerecord/test/models/subject.rb +++ b/activerecord/test/models/subject.rb @@ -1,12 +1,16 @@ # used for OracleSynonymTest, see test/synonym_test_oracle.rb # class Subject < ActiveRecord::Base +...
fixed Subject model after_initialize callback for test_oracle_synonym test
rails_rails
train
rb
02f8709258369dc3f3dc84b6f2ce5b12fa939007
diff --git a/src/Error/Debug/ConsoleFormatter.php b/src/Error/Debug/ConsoleFormatter.php index <HASH>..<HASH> 100644 --- a/src/Error/Debug/ConsoleFormatter.php +++ b/src/Error/Debug/ConsoleFormatter.php @@ -40,9 +40,9 @@ class ConsoleFormatter implements FormatterInterface // cyan 'class' => '0;36', ...
Fix colours in dark terminals Don't use the black ansi code as it is hard to see in dark terminals. Instead use the foreground color which *should* be visible.
cakephp_cakephp
train
php
15eddeaf57b605b16d75161e92fc3e8883b8f693
diff --git a/enamlnativecli/main.py b/enamlnativecli/main.py index <HASH>..<HASH> 100644 --- a/enamlnativecli/main.py +++ b/enamlnativecli/main.py @@ -19,7 +19,6 @@ import shutil import tarfile import fnmatch import compileall -from ruamel import yaml import pkg_resources from glob import glob from os.path import...
Support ruamel_yaml from conda's repo Fixes #<I>
codelv_enaml-native-cli
train
py
5da8990053e2c87eaf837da61cd63e687c43aae0
diff --git a/scrape/scrape.go b/scrape/scrape.go index <HASH>..<HASH> 100644 --- a/scrape/scrape.go +++ b/scrape/scrape.go @@ -965,7 +965,7 @@ mainLoop: // we still call sl.append to trigger stale markers. total, added, seriesAdded, appErr := sl.append(b, contentType, start) if appErr != nil { - level.Warn(s...
Log scrape append failures as debug rather than warn. (#<I>) This is most likely due to an endpoint not producing valid metrics output, which we should treat the same as a failed scrape, and thus not spam the application logs with it.
prometheus_prometheus
train
go