hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
57b6a6a584c46bd9840041999841d6339fb988be | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -228,7 +228,7 @@ class Hyperdrive extends EventEmitter {
return cb(err)
}
const newStat = Object.assign(decoded, stat)
- return this._putStat(name, newStat, cb)
+ return this._putStat(name, new... | Pass flags in _update + add unmount and unmount test | mafintosh_hyperdrive | train |
43a2e359f2e78dfd5333e884ac308b79089d019b | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -254,19 +254,67 @@ tape('write is slower than timeout', function (t) {
cb()
t.end()
}, 200)
+})
-// t.equal(write_called, 1)
-// //this time it buffers until the write succeeds
-// t.equal... | test when write is faster than timeout, but there is an current timer waiting | dominictarr_async-write | train |
ce8342a1f1569c0339b18f5978559b8b64b6119e | diff --git a/addons/info/src/components/PropTable/components/Td.js b/addons/info/src/components/PropTable/components/Td.js
index <HASH>..<HASH> 100644
--- a/addons/info/src/components/PropTable/components/Td.js
+++ b/addons/info/src/components/PropTable/components/Td.js
@@ -12,12 +12,13 @@ Td.propTypes = {
PropTyp... | Addon-info: Fix "The prop 'children' is marked as required in '… (#<I>)
Addon-info: Fix "The prop 'children' is marked as required in 'Td'" | storybooks_storybook | train |
2f13e2ebbf22ae033b7206a0556c83ff07dc3545 | diff --git a/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/Constants.java b/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/Constants.java
index <HASH>..<HASH> 100644
--- a/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/Constants.java
+++ b/connector/... | [WFLY-<I>] Added missing access constraints to attributes that reference Elytron capabilities. | wildfly_wildfly | train |
71cbef5ee0d70add744cee04ddb9e2db60eaeb8b | diff --git a/lib/rubotnik.rb b/lib/rubotnik.rb
index <HASH>..<HASH> 100644
--- a/lib/rubotnik.rb
+++ b/lib/rubotnik.rb
@@ -31,8 +31,11 @@ module Rubotnik
end
end
- def self.set_profile(payload)
- Facebook::Messenger::Profile.set(payload, access_token: ENV['ACCESS_TOKEN'])
+ # TODO
+ def self.set_profile... | you can send multiple payloads with one call to Rubotnik.set_profile | progapandist_rubotnik | train |
0908da0c3e509b71850b96c8203d2c10cb116d71 | diff --git a/js/types/radar.js b/js/types/radar.js
index <HASH>..<HASH> 100644
--- a/js/types/radar.js
+++ b/js/types/radar.js
@@ -7,47 +7,54 @@ Flotr.addType('radar', {
fillOpacity: 0.4, // => opacity of the fill color, set to 1 for a solid fill, 0 hides the fill
radiusRatio: 0.90 // => ratio of th... | Decoupled radar chart draw and plot from Axis, Series, Graph. | HumbleSoftware_Flotr2 | train |
bc74e1c4e883c6c620d3cc98854ac79e90cc93d5 | diff --git a/includes/Connector.class.php b/includes/Connector.class.php
index <HASH>..<HASH> 100644
--- a/includes/Connector.class.php
+++ b/includes/Connector.class.php
@@ -52,38 +52,47 @@ class AC_Connector {
if ($post_data) {
curl_setopt($request, CURLOPT_POST, 1);
$data = "";
- foreach($post_data a... | for POST calls, allow JSON or serialized data to be passed (instead of an array converted to a string) | ActiveCampaign_activecampaign-api-php | train |
9c77ce0fa95707aea2df2bd2e01cc0b3fa02f74c | diff --git a/manage.py b/manage.py
index <HASH>..<HASH> 100755
--- a/manage.py
+++ b/manage.py
@@ -3,10 +3,9 @@
import os
import sys
+from django.core.management import execute_from_command_line
if __name__ == "__main__":
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "openstack_dashboard.settings")
-
- ... | Fix PEP8 issues.
Fix some pep8 issues in manage.py make the code looks pretty.
Change-Id: I0e<I>ed<I>dbef9ab<I>a3c<I>e<I>ac<I>e4afc<I>e | openstack_horizon | train |
1a5c3e57e40ef0ded56baac421f80fa62d72f055 | diff --git a/http/netty/components/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/internal/HTTPTransportActivator.java b/http/netty/components/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/internal/HTTPTransportActivator.java
index <HASH... | server-connector-framework-improvements | wso2_transport-http | train |
2a5b2869116e411ef61058f8c5e4a3020ff5847e | diff --git a/docker_squash/image.py b/docker_squash/image.py
index <HASH>..<HASH> 100644
--- a/docker_squash/image.py
+++ b/docker_squash/image.py
@@ -492,15 +492,21 @@ class Image(object):
"Skipping '%s' marker file, this file was added earlier for some reason..." % marker.name)
c... | Do not skip marker files when files in tar are prefixed
It turns out that some tar archives have a ./ prefix
added for each file. Until now we compared files paths directly.
This comparison was not working, because both strings were different
(etc/fstab vs. ./etc/fstab).
Fixes #<I> | goldmann_docker-squash | train |
b36df6f878952a1ed416953f33e6eb07df5c6165 | diff --git a/src/List/List.js b/src/List/List.js
index <HASH>..<HASH> 100644
--- a/src/List/List.js
+++ b/src/List/List.js
@@ -37,8 +37,7 @@ export default class List extends React.Component {
var classes = classNames(
defaultClasses.concat(
- this.props.className.split(' '),
- this.props.at... | Remove redundant className property for the main component | mesosphere_reactjs-components | train |
656a829f826833942ff78afe60c2f70d5ec514c6 | diff --git a/lib/OpenLayers/Renderer.js b/lib/OpenLayers/Renderer.js
index <HASH>..<HASH> 100644
--- a/lib/OpenLayers/Renderer.js
+++ b/lib/OpenLayers/Renderer.js
@@ -165,10 +165,13 @@ OpenLayers.Renderer = OpenLayers.Class({
style = feature.style;
}
if (feature.geometry) {
- i... | Allowing for geometries whose bounds cannot be intersected. Thanks for the quick review Andreas. r=ahocevar (closes #<I>)
git-svn-id: <URL> | openlayers_openlayers | train |
5bd710f200db30f88c9338600472087c7d1b4211 | diff --git a/src/Database/Type/BinaryType.php b/src/Database/Type/BinaryType.php
index <HASH>..<HASH> 100644
--- a/src/Database/Type/BinaryType.php
+++ b/src/Database/Type/BinaryType.php
@@ -55,6 +55,9 @@ class BinaryType extends Type
if ($value === null) {
return null;
}
+ if (is_... | Fix blob reading in SQLServer
VARBINARY fields in SQLServer come back as hexadecimal encoded strings.
In order for these to be useful, they need to be converted into
resources like other blobby things.
This should fix that AppVeyor builds as well. | cakephp_cakephp | train |
c31c5ace43ad5ec26ba798f7ef7310a1f9ff1d68 | diff --git a/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/SSOAuthenticator.java b/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/SSOAuthenticator.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontai... | remove jwt cookies from the response | OpenLiberty_open-liberty | train |
7cf88ecd45faf132ff40a2445f179da1b9cbe078 | diff --git a/.toys/release/perform.rb b/.toys/release/perform.rb
index <HASH>..<HASH> 100644
--- a/.toys/release/perform.rb
+++ b/.toys/release/perform.rb
@@ -192,9 +192,7 @@ class Performer
logger.info "**** Starting publish_gem for #{gem_name}"
Dir.chdir gem_dir do
FileUtils.rm_rf "pkg"
- isolat... | chore: Release perform script is able to use toys instead of rake for auxiliary tasks (#<I>) | googleapis_google-cloud-ruby | train |
ec9f6bc03eb94adad9bf76414c3c9dfbb455b3bb | diff --git a/src/serial-connection.js b/src/serial-connection.js
index <HASH>..<HASH> 100644
--- a/src/serial-connection.js
+++ b/src/serial-connection.js
@@ -5,7 +5,12 @@
var _ = require('lodash');
var Q = require('q');
-var SerialPort = require('serialport').SerialPort;
+var serialport;
+try {
+ serialport = r... | Make serialport npm optional.
This commit causes exceptions that are thrown during loading the
serialport npm (e.g. because the shared library cannot be loaded)
to be ignored. | danielwippermann_resol-vbus | train |
999c2125d7b193297789645ae73b81e167b6fcd1 | diff --git a/library/CM/Model/StorageAdapter/CacheLocal.php b/library/CM/Model/StorageAdapter/CacheLocal.php
index <HASH>..<HASH> 100644
--- a/library/CM/Model/StorageAdapter/CacheLocal.php
+++ b/library/CM/Model/StorageAdapter/CacheLocal.php
@@ -26,6 +26,6 @@ class CM_Model_StorageAdapter_CacheLocal extends CM_Model_S... | Fix bug in APC model storage adapter | cargomedia_cm | train |
135c1ddd97972095bbf9851b0f66ff050da2437d | diff --git a/punkt/trainer.go b/punkt/trainer.go
index <HASH>..<HASH> 100644
--- a/punkt/trainer.go
+++ b/punkt/trainer.go
@@ -279,10 +279,15 @@ func (p *PunktTrainer) reclassifyAbbrevTypes(types []string) []*AbbrevType {
p.typeFreqDist.N(),
)
fLength := math.Exp(-numNonPeriods)
- fPenalty := boolToFloat64(p... | abbreviations from training match nltk | neurosnap_sentences | train |
67d1a0df314df921e38336ea5be6e6c2992f03d1 | diff --git a/src/Laravel/CacheItem.php b/src/Laravel/CacheItem.php
index <HASH>..<HASH> 100644
--- a/src/Laravel/CacheItem.php
+++ b/src/Laravel/CacheItem.php
@@ -80,7 +80,9 @@ class CacheItem implements CacheItemInterface
public function expiresAt($expires)
{
if ($expires instanceof DateTimeInterfac... | Fix for HHVM facebook/hhvm#<I> | madewithlove_illuminate-psr-cache-bridge | train |
9882a0a7884db922cdb4bb4ec006bb4a9af6c8bf | diff --git a/genghis.rb b/genghis.rb
index <HASH>..<HASH> 100755
--- a/genghis.rb
+++ b/genghis.rb
@@ -17,7 +17,7 @@ require 'mongo'
require 'json'
class Genghis < Sinatra::Base
- PAGE_LIMIT = 50
+ PAGE_LIMIT = 2
enable :inline_templates
register Sinatra::Reloader if development?
@@ -70,9 +70,9 @@ class G... | [rb] Fix genghis flavored json calls with no args
* Date, ISODate, and ObjectId without arguments act like you'd expect
* Both `new` operator and directly calling work the same way
* RegExp works if no flags are passed | bobthecow_genghis | train |
d42021469b9a4a3b7bd0bfce7be1ceac9256576c | diff --git a/lib/generators/invitation/install/install_generator.rb b/lib/generators/invitation/install/install_generator.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/invitation/install/install_generator.rb
+++ b/lib/generators/invitation/install/install_generator.rb
@@ -13,8 +13,8 @@ module Invitation
cl... | removed invitables from generator for the moment | tomichj_invitation | train |
25a2afc11ddd2c03512db81cc8c668f9f6a33b11 | diff --git a/citrination_client/client.py b/citrination_client/client.py
index <HASH>..<HASH> 100644
--- a/citrination_client/client.py
+++ b/citrination_client/client.py
@@ -269,7 +269,7 @@ class CitrinationClient(object):
j = json.loads(r.content.decode('utf-8'))
s3url = self._get_s3... | Add Necessary Headers To Upload PUT Requests to S3
By requiring the use of server side encryption in the buckets used in the
back end, we require that the `x-amz-acl` and `x-amz-server-side-encryption`
headers be present on the request to the presigned url that uploads files.
This commit adds the necessary he... | CitrineInformatics_python-citrination-client | train |
559f33c4f2b5a76e1636ce1b9c9832c3a49aef20 | diff --git a/helper/pgpkeys/keybase.go b/helper/pgpkeys/keybase.go
index <HASH>..<HASH> 100644
--- a/helper/pgpkeys/keybase.go
+++ b/helper/pgpkeys/keybase.go
@@ -49,25 +49,25 @@ func FetchKeybasePubkeys(input []string) (map[string]string, error) {
}
defer resp.Body.Close()
- type publicKeys struct {
+ type Publi... | helper/gpgkeys: fix for vault <I> (#<I>) | hashicorp_vault | train |
da7e21926f7be5fcb8cc6f12e4250aeaa84d8862 | diff --git a/lib/app/js/services/Socket.js b/lib/app/js/services/Socket.js
index <HASH>..<HASH> 100644
--- a/lib/app/js/services/Socket.js
+++ b/lib/app/js/services/Socket.js
@@ -15,18 +15,20 @@ angular.module('sgApp')
return (typeof $window.io !== 'undefined');
},
on: function(eventName, l... | Fix: apply socket event listeners correctly through angular | SC5_sc5-styleguide | train |
3968c24d62b55aa80992820a32373b18a82ebb3c | diff --git a/simpleCommands.js b/simpleCommands.js
index <HASH>..<HASH> 100644
--- a/simpleCommands.js
+++ b/simpleCommands.js
@@ -76,7 +76,9 @@ function getZone(zone) {
case 1:
zone = "Main_Zone";
break;
- case 2: case 3: case 4:
+ case 2:
+ case 3:
+ case... | More volume debugging and a fix | PSeitz_yamaha-nodejs | train |
dbf38a06f4652c0a2fbdaecca21a18f53633bb6e | diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/testing/integration.rb
+++ b/actionpack/lib/action_dispatch/testing/integration.rb
@@ -314,9 +314,6 @@ module ActionDispatch
... | Do not recommend `xhr` since it is going to be deprecated. | rails_rails | train |
c6a7283d6de6990ffd1df90a566f03dc1badb783 | diff --git a/contrib/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java b/contrib/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java
index <HASH>..<HASH> 100644
--- a/contrib/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.... | return batchable task in restli client. | linkedin_parseq | train |
b5694e4d07a55d1539ae5216d1cf700553968981 | diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/svtplay.py
+++ b/lib/svtplay_dl/service/svtplay.py
@@ -330,7 +330,7 @@ class Svtplay(Service, MetadataThumbMixin):
def extrametadata(self, episode):
self.output["tv... | svtplay: check for validFrom in the correct place | spaam_svtplay-dl | train |
c4d69e982b87481b2cdbec9aaa234913d1699730 | diff --git a/common/src/main/java/io/netty/util/ConstantPool.java b/common/src/main/java/io/netty/util/ConstantPool.java
index <HASH>..<HASH> 100644
--- a/common/src/main/java/io/netty/util/ConstantPool.java
+++ b/common/src/main/java/io/netty/util/ConstantPool.java
@@ -55,31 +55,24 @@ public abstract class ConstantPoo... | Remove duplicate code in ConstantPool class
Motivation:
Currently, valueOf() and newInstance() use almost same code to create new constant.
For maintainability, it's better to share duplicate code among them.
Motification:
Added new private functions.
- checkNotNullAndNotEmpty() is for checking whether the name of ... | netty_netty | train |
3cfd23997d522fc995e97e33516f26fe613bb158 | diff --git a/blocks/diff/diff__editorcontroller_double.js b/blocks/diff/diff__editorcontroller_double.js
index <HASH>..<HASH> 100644
--- a/blocks/diff/diff__editorcontroller_double.js
+++ b/blocks/diff/diff__editorcontroller_double.js
@@ -38,7 +38,6 @@ define([
*/
diffTool.DoubleEditorController.EQUATOR_RATIO = ... | Add resize window resize handler, which updates size of canvas for connectors.
Former-commit-id: <I>a<I>dc8f<I>d8b4dceef7c<I>d<I>b | JetBrains_ring-ui | train |
0a7aabeb491ffd015921c2886c84302ffa998c1e | diff --git a/lib/datasource/github/index.js b/lib/datasource/github/index.js
index <HASH>..<HASH> 100644
--- a/lib/datasource/github/index.js
+++ b/lib/datasource/github/index.js
@@ -34,14 +34,20 @@ async function fetchJSONFile(repo, fileName) {
}
}
-function getPreset(pkgName, presetName) {
- if (presetName && ... | feat: multiple github-hosted presets
Now supports multiple presets per github repo. For example: `{ “extends”: [“github>abc/def:foo”] }` will look for the file `foo.json` inside the repo github.com/abc/def.
Closes #<I> | renovatebot_renovate | train |
dd38f3c70c220f94d60ee5322d81ed926f1109a3 | diff --git a/lib/flickr/object/photo.rb b/lib/flickr/object/photo.rb
index <HASH>..<HASH> 100644
--- a/lib/flickr/object/photo.rb
+++ b/lib/flickr/object/photo.rb
@@ -214,6 +214,19 @@ module Flickr
end
##
+ # Changes the size of the photo.
+ #
+ def size!(name)
+ if name != nil and... | Make Object::Photo#size! public | janko_flickr-objects | train |
e25c56ac94ac660360bbe14b1cd36989f91cf1d8 | diff --git a/cohort/assign.php b/cohort/assign.php
index <HASH>..<HASH> 100644
--- a/cohort/assign.php
+++ b/cohort/assign.php
@@ -115,11 +115,14 @@ if (optional_param('remove', false, PARAM_BOOL) && confirm_sesskey()) {
</td>
<td id="buttonscell">
<div id="addcontrols">
- <input n... | MDL-<I> cohorts: Add bootstrap classes to buttons | moodle_moodle | train |
80804d6ae57ddaae95d66e9a28ce07e901cf29dd | diff --git a/go/chat/utils/utils.go b/go/chat/utils/utils.go
index <HASH>..<HASH> 100644
--- a/go/chat/utils/utils.go
+++ b/go/chat/utils/utils.go
@@ -183,6 +183,7 @@ func ReorderParticipants(mctx libkb.MetaContext, g libkb.UIDMapperContext, umapp
}
// Include participants even if they weren't in the active list,... | sort leftover nonspeaking parts properly (#<I>) | keybase_client | train |
3cef9f2e004bbee9601066ad507ece335c2d472f | diff --git a/src/ol/Image.js b/src/ol/Image.js
index <HASH>..<HASH> 100644
--- a/src/ol/Image.js
+++ b/src/ol/Image.js
@@ -159,7 +159,7 @@ class ImageWrapper extends ImageBase {
export function listenImage(image, loadHandler, errorHandler) {
const img = /** @type {HTMLImageElement} */ (image);
- if (IMAGE_DECODE... | Use Image.prototype.decode only when src is already set | openlayers_openlayers | train |
473695d716da331727619628ece7a3976be85b6f | diff --git a/allauth/compat.py b/allauth/compat.py
index <HASH>..<HASH> 100644
--- a/allauth/compat.py
+++ b/allauth/compat.py
@@ -14,8 +14,8 @@ else:
# Wire the Django >= 1.8 API to the Django < 1.7 implementation.
def render_to_string(
template_name, context=None, request=None, using=None):
- ... | flake8 caught bad assert, fixed | pennersr_django-allauth | train |
fc2ca232e4d21814122e30de816929a2ac15ddfb | diff --git a/lib/websearch_templates.py b/lib/websearch_templates.py
index <HASH>..<HASH> 100644
--- a/lib/websearch_templates.py
+++ b/lib/websearch_templates.py
@@ -1949,6 +1949,7 @@ class Template:
tmpl_nice_number_via_locale().
"""
if type(number) is float:
+ number = round(num... | Display float numbers up to the third decimal digit after the dot. | inveniosoftware_invenio-records | train |
d86d8d9055110fd178cdee3cdfefc105482cb289 | diff --git a/src/Keboola/Syrup/Controller/IndexController.php b/src/Keboola/Syrup/Controller/IndexController.php
index <HASH>..<HASH> 100644
--- a/src/Keboola/Syrup/Controller/IndexController.php
+++ b/src/Keboola/Syrup/Controller/IndexController.php
@@ -8,6 +8,7 @@
namespace Keboola\Syrup\Controller;
+use Keboola... | refactor (IndexController): RouteNotFounAction now throws exception with <I> code | keboola_syrup | train |
814b6cfaf44f5739d32abccb281400738a0333ba | diff --git a/test/parameters_taint_test.rb b/test/parameters_taint_test.rb
index <HASH>..<HASH> 100644
--- a/test/parameters_taint_test.rb
+++ b/test/parameters_taint_test.rb
@@ -25,6 +25,7 @@ class ParametersTaintTest < ActiveSupport::TestCase
test "not permitted is sticky on accessors" do
assert !@params.slic... | Test that not permitted is sticky on #except | rails_strong_parameters | train |
752c62c640f221a1a8e9ed0ace221922a26c6d60 | diff --git a/salt/modules/config.py b/salt/modules/config.py
index <HASH>..<HASH> 100644
--- a/salt/modules/config.py
+++ b/salt/modules/config.py
@@ -75,6 +75,23 @@ def manage_mode(mode):
return mode
+def is_true(value=None):
+ '''
+ Returns a boolean value representing the "truth" of the value passed. ... | Add function config.is_true
This function will provide a common interface for determining truth, so
that module functions can properly determine the truthiness of a value
passed in via the CLI.
This will allow some code in the package providers to be a little less
ugly, and will also come in handy when #<I> is implem... | saltstack_salt | train |
5a9cfde6e5deafdac26ffb629899362812725e1c | diff --git a/src/SepaUtilities.php b/src/SepaUtilities.php
index <HASH>..<HASH> 100644
--- a/src/SepaUtilities.php
+++ b/src/SepaUtilities.php
@@ -638,7 +638,7 @@ class SepaUtilities
case 'pmtid': // next line
case 'pmtinfid': return self::checkRestrictedIdentificationSEPA1($input);
... | fixed sanitizing sepa mandate id for version pain<I> | AbcAeffchen_SepaUtilities | train |
add3b78597c5a8a090205c4ac8f4352ea9d00d43 | diff --git a/Neos.Flow/Classes/Cli/Dispatcher.php b/Neos.Flow/Classes/Cli/Dispatcher.php
index <HASH>..<HASH> 100644
--- a/Neos.Flow/Classes/Cli/Dispatcher.php
+++ b/Neos.Flow/Classes/Cli/Dispatcher.php
@@ -5,6 +5,7 @@ use Neos\Flow\Annotations as Flow;
use Neos\Flow\Cli\Exception\InfiniteLoopException;
use Neos\Flow... | BUGFIX: Do not run before and afterControllerInvocation signals in compile time
Together with Flow 6.x the Cli commands have been seperated from the Http ActionControllers.
Before these slots have been guaranteed to be executed during runtime only. This patch restores
that behavior. There will be another commit again... | neos_flow-development-collection | train |
02db1401fb0fb576cbc94f508d8965aeb62c609b | diff --git a/lib/right_chimp/Chimp.rb b/lib/right_chimp/Chimp.rb
index <HASH>..<HASH> 100644
--- a/lib/right_chimp/Chimp.rb
+++ b/lib/right_chimp/Chimp.rb
@@ -215,7 +215,7 @@ module Chimp
# Then we filter on all the instances by this href
all_instances = Connection.all_instances() unless arrays_hrefs.empt... | OPS-<I> Added debug line to exception handling in self.instances and self.all_instances | rightscale_right_chimp | train |
da7ac3d8155955247a348510c4aca7a09fe4416a | diff --git a/lib/platform.js b/lib/platform.js
index <HASH>..<HASH> 100644
--- a/lib/platform.js
+++ b/lib/platform.js
@@ -54,7 +54,10 @@ function WirelessTagPlatform(options) {
/** @member {function} - see {@link WirelessTagPlatform.callAPI} */
this.callAPI = WirelessTagPlatform.callAPI;
this._tagManage... | Completes version tagging of all new methods
Also fixes formatting in a few places. | hlapp_wirelesstags-js | train |
7e237ef6e6b880f673017648e6241d436a310ab0 | diff --git a/src/localshop/apps/packages/utils.py b/src/localshop/apps/packages/utils.py
index <HASH>..<HASH> 100644
--- a/src/localshop/apps/packages/utils.py
+++ b/src/localshop/apps/packages/utils.py
@@ -4,10 +4,7 @@ import logging
import os
from django.core.files.uploadedfile import TemporaryUploadedFile
-from ... | cleanup imports / docstrings | mvantellingen_localshop | train |
036e754d1b663dc9756284ecd4c000447354d86c | diff --git a/test/configCases/dll-plugin/1-use-dll/webpack.config.js b/test/configCases/dll-plugin/1-use-dll/webpack.config.js
index <HASH>..<HASH> 100644
--- a/test/configCases/dll-plugin/1-use-dll/webpack.config.js
+++ b/test/configCases/dll-plugin/1-use-dll/webpack.config.js
@@ -1,4 +1,3 @@
-//eslint-disable-next-li... | Reverted eslint comment for missing webpack installation | webpack_webpack | train |
04f9a4c25b4c5131f80bb721d14214ddab521a53 | diff --git a/tests/unit/action-test.js b/tests/unit/action-test.js
index <HASH>..<HASH> 100644
--- a/tests/unit/action-test.js
+++ b/tests/unit/action-test.js
@@ -37,7 +37,7 @@ test("Action triggers on a specific gesture when defined", function(assert) {
andThen(function () {
- triggerEvent('#specificActionGe... | should jquery style lowercase event names in trigger | runspired_ember-mobiletouch | train |
abbe46c02f15c1b58f186e3faa66de86a8c070f2 | diff --git a/src/com/robrua/orianna/type/core/staticdata/BasicDataStats.java b/src/com/robrua/orianna/type/core/staticdata/BasicDataStats.java
index <HASH>..<HASH> 100644
--- a/src/com/robrua/orianna/type/core/staticdata/BasicDataStats.java
+++ b/src/com/robrua/orianna/type/core/staticdata/BasicDataStats.java
@@ -227,7... | Standardize stats which are sometimes negative and add item parsing | meraki-analytics_orianna | train |
411b5a2f3a9151b19805d60369e50c82f8d87b39 | diff --git a/allennlp/data/token_indexers/wordpiece_indexer.py b/allennlp/data/token_indexers/wordpiece_indexer.py
index <HASH>..<HASH> 100644
--- a/allennlp/data/token_indexers/wordpiece_indexer.py
+++ b/allennlp/data/token_indexers/wordpiece_indexer.py
@@ -174,7 +174,7 @@ class PretrainedBertIndexer(WordpieceIndexer)... | upgrade pytorch-pretrained-bert + fix kwarg (#<I>) | allenai_allennlp | train |
4bf9ccdc19e860e779c1c21905ae5cfacdd98de0 | diff --git a/src/fkooman/OAuth/Storage/PdoBaseStorage.php b/src/fkooman/OAuth/Storage/PdoBaseStorage.php
index <HASH>..<HASH> 100644
--- a/src/fkooman/OAuth/Storage/PdoBaseStorage.php
+++ b/src/fkooman/OAuth/Storage/PdoBaseStorage.php
@@ -25,7 +25,7 @@ abstract class PdoBaseStorage
protected $db;
/** @var s... | member is dbPrefix, not prefix | fkooman_php-lib-oauth | train |
898e84d5fd1ad502632eb4082b7be37a65599a3b | diff --git a/daemon/volumes.go b/daemon/volumes.go
index <HASH>..<HASH> 100644
--- a/daemon/volumes.go
+++ b/daemon/volumes.go
@@ -15,7 +15,6 @@ import (
"github.com/docker/docker/container"
"github.com/docker/docker/volume"
"github.com/docker/docker/volume/drivers"
- "github.com/opencontainers/runc/libcontainer/... | Remove undeeded and broken selinux relabel call
The call is not needed here and wouldn't really work since `Source` in
this case is a volume name.
Further we don't neccessarily even have a volume path at this time since
the volume hasn't been mounted yet.
The volume will be relabled either:
1. When data gets copied ... | moby_moby | train |
39692026cea2ff13e210c6e81e2615004135fcf0 | diff --git a/babel.config.js b/babel.config.js
index <HASH>..<HASH> 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -3,11 +3,11 @@ module.exports = {
[
'@babel/preset-env',
{
+ useBuiltIns: 'usage',
targets: {
browsers: 'IE 11'
},
- corejs: 3,
- ... | revert plugin-transform-regenerator | Sage_carbon-factory | train |
f3023f8bba0e965ad52b3d9b92987044754c7d59 | diff --git a/lib/transport.receiver.express.js b/lib/transport.receiver.express.js
index <HASH>..<HASH> 100644
--- a/lib/transport.receiver.express.js
+++ b/lib/transport.receiver.express.js
@@ -2,6 +2,7 @@
var AbstractReceiverTransport = require( './transport.receiver.abstract' );
var express = require( 'express' ... | Updated the express transport to use express 4+ | BlueRival_json-fling | train |
2a9060a85ce430b28f5ec47e1438c6ef1b8e13fa | diff --git a/hugolib/page_test.go b/hugolib/page_test.go
index <HASH>..<HASH> 100644
--- a/hugolib/page_test.go
+++ b/hugolib/page_test.go
@@ -1512,8 +1512,16 @@ title: "Hugo Smile"
This is a :smile:.
<!--more-->
-Another :smile: This is :not: an emoji.
+Another :smile: This is :not: :an: :emoji:.
+O :christmas_... | hugolib: Expand TestPageWithEmoji to cover '+', '-' and '_' too
See #<I> and commit <I>e | gohugoio_hugo | train |
7a0d661cab8cb7bcbbaebdb568b8c75a50a7163f | diff --git a/mockserver-netty/src/main/java/org/mockserver/codec/MockServerRequestDecoder.java b/mockserver-netty/src/main/java/org/mockserver/codec/MockServerRequestDecoder.java
index <HASH>..<HASH> 100644
--- a/mockserver-netty/src/main/java/org/mockserver/codec/MockServerRequestDecoder.java
+++ b/mockserver-netty/sr... | Reverting to default character set for query strings in MockServerRequestDecoder | jamesdbloom_mockserver | train |
8e4fd81e069616bf1a7137f92bd3af1569f40cd8 | diff --git a/lib/tire/model/search.rb b/lib/tire/model/search.rb
index <HASH>..<HASH> 100644
--- a/lib/tire/model/search.rb
+++ b/lib/tire/model/search.rb
@@ -83,7 +83,7 @@ module Tire
else
response = index.store document_type, self
self.id ||= response['_id'] if self.respon... | [FIX] Fixed the unit test for Model::Search | karmi_retire | train |
0a2cca0ee004fc3528620aee5ff09382d52bdbb7 | diff --git a/server/src/test/java/com/ning/billing/jaxrs/TestCredit.java b/server/src/test/java/com/ning/billing/jaxrs/TestCredit.java
index <HASH>..<HASH> 100644
--- a/server/src/test/java/com/ning/billing/jaxrs/TestCredit.java
+++ b/server/src/test/java/com/ning/billing/jaxrs/TestCredit.java
@@ -17,19 +17,31 @@
pack... | server: fix test failure in TestCredit | killbill_killbill | train |
71f318af0f8c4366396a81a83fa449e5fa6901be | diff --git a/formats/agp.py b/formats/agp.py
index <HASH>..<HASH> 100644
--- a/formats/agp.py
+++ b/formats/agp.py
@@ -99,11 +99,16 @@ class AGPLine (object):
self.component_type, self.orientation))
@property
+ def bedextra(self):
+ # extra lines for bed12
+ return "\t".join(str... | allow thickStart and thickEnd to reflect original object_beg/end before extension in agp.extendbed() | tanghaibao_jcvi | train |
cfa535214acf674baa2fc77a73d25872f05751df | diff --git a/classes/Connection.php b/classes/Connection.php
index <HASH>..<HASH> 100644
--- a/classes/Connection.php
+++ b/classes/Connection.php
@@ -55,10 +55,10 @@ class Connection implements Contract\Connection
/**
* Get or set PDO instance
*
- * @param \PDO $pdo (optional)
- * @return \PDO... | Actually use the imported PDO class. | neat-php_database | train |
9ced35789163fb1df98eaba887d54f23d8b85f5b | diff --git a/src/components/input/input.js b/src/components/input/input.js
index <HASH>..<HASH> 100644
--- a/src/components/input/input.js
+++ b/src/components/input/input.js
@@ -634,11 +634,25 @@ function mdMaxlengthDirective($animate, $mdUtil) {
};
function postLink(scope, element, attr, ctrls) {
- var max... | fix(input): make md-maxlength validation happen on initialization (#<I>)
Closes #<I> | angular_material | train |
135e284952e75204b3aefa4d965b3cfa130cb66e | diff --git a/dwave/embedding/pegasus.py b/dwave/embedding/pegasus.py
index <HASH>..<HASH> 100644
--- a/dwave/embedding/pegasus.py
+++ b/dwave/embedding/pegasus.py
@@ -36,12 +36,18 @@ def find_clique_embedding(k, m=None, target_graph=None):
m = target_graph.graph['rows'] # We only support square Pegasus graphs
... | Add back_translate lambda in order to deal with differences between ints and coordinates in the target_graph. Add unit test to check back translate | dwavesystems_minorminer | train |
5c102decbde43395e14aeff83a20c4c6f1d048ae | diff --git a/code/Controllers/CMSMain.php b/code/Controllers/CMSMain.php
index <HASH>..<HASH> 100644
--- a/code/Controllers/CMSMain.php
+++ b/code/Controllers/CMSMain.php
@@ -1353,35 +1353,44 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
* @param SiteTree $record
* @ret... | FIX Improve performance of CMSMain::getArchiveWarningMessage (#<I>)
* FIX Improve performance of CMSMain::getArchiveWarningMessage
* Remove private method
* Linting | silverstripe_silverstripe-cms | train |
7adee6de6139417f63ba1b7d9df8d58b137d6367 | diff --git a/consumergroup/consumer_group.go b/consumergroup/consumer_group.go
index <HASH>..<HASH> 100644
--- a/consumergroup/consumer_group.go
+++ b/consumergroup/consumer_group.go
@@ -186,6 +186,11 @@ func (cg *ConsumerGroup) Close() (err error) {
return AlreadyClosed
}
+ // Mark ConsumerGroup as closed BEFOR... | Mark ConsumerGroup as closed earlier in Close function to prevent panic due to closing channels twice | wvanbergen_kafka | train |
4b6ce41173c5a7ddd80557bfa85d3d7a7780d7ef | diff --git a/flask_peewee/rest.py b/flask_peewee/rest.py
index <HASH>..<HASH> 100644
--- a/flask_peewee/rest.py
+++ b/flask_peewee/rest.py
@@ -191,6 +191,12 @@ class RestResource(object):
# clean and normalize the request parameters
for key in request.args:
+ orig_key = key
+ i... | Support negation in the rest api. | coleifer_flask-peewee | train |
eb56f75c44f6503437d44e5b6a7f4f186f89f995 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -117,6 +117,20 @@ public function endsWith($suffix);
public function endsWithIgnoreCase($suffix);
/**
+ * Converts this string to lowercase
+ *
+ * @return static this instance for chaining
+ */
+public function toLowe... | Add methods 'toLowerCase' and 'toUpperCase' | delight-im_PHP-Str | train |
1ea14c29629e124bcc64da281c8c9b894a2e9192 | diff --git a/changes.md b/changes.md
index <HASH>..<HASH> 100644
--- a/changes.md
+++ b/changes.md
@@ -12,6 +12,7 @@
- Errors generated by the response factory and the exception handler are now the same.
- `LeagueOAuth2Provider` methods `setUserCallback` and `setClientCallback` are now called `setUserResolver` and `s... | Removed formatOther because non-formattable responses are returned as they are. | dingo_api | train |
34ffc5686546343eaa27d1fb8f9432237bdd1886 | diff --git a/tests/integration/api_exec_test.py b/tests/integration/api_exec_test.py
index <HASH>..<HASH> 100644
--- a/tests/integration/api_exec_test.py
+++ b/tests/integration/api_exec_test.py
@@ -304,9 +304,13 @@ class ExecDemuxTest(BaseAPIIntegrationTest):
# tty=True, stream=True, demux=False
res ... | Streaming TTY messages sometimes get truncated. Handle gracefully in demux tests | docker_docker-py | train |
ecd1efe6dc1df8d74ae1fb7931ae9bd3d7d66c0f | diff --git a/cmocean/tools.py b/cmocean/tools.py
index <HASH>..<HASH> 100644
--- a/cmocean/tools.py
+++ b/cmocean/tools.py
@@ -175,32 +175,31 @@ def get_dict(cmap, N=256):
and http://nbviewer.ipython.org/github/kwinkunks/notebooks/blob/master/Matteo_colourmaps.ipynb
'''
- rgb = cmap(np.arange(N))
+ x ... | Updated routine to get colormap dict from rgb | matplotlib_cmocean | train |
7b5ab33f6e17196498922e144ebf14ee2f7b13fa | diff --git a/catalog.go b/catalog.go
index <HASH>..<HASH> 100644
--- a/catalog.go
+++ b/catalog.go
@@ -30,21 +30,21 @@ type ServicePlan struct {
}
type ServiceSchemas struct {
- Instance ServiceInstanceSchema `json:"service_instance"`
+ Instance ServiceInstanceSchema `json:"service_instance,omitempty"`
Binding S... | Added omitempty in various places | pivotal-cf_brokerapi | train |
4a887fee81fe7900fca48fbeff56611eb40df53d | diff --git a/lib/chef/provider/ifconfig.rb b/lib/chef/provider/ifconfig.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/provider/ifconfig.rb
+++ b/lib/chef/provider/ifconfig.rb
@@ -199,8 +199,8 @@ class Chef
end
def delete_config
- require 'fileutils'
return unless can_generate_config?
+ ... | [CHEF-<I>] require fileutils moved one line below | chef_chef | train |
3d02912ac894a6490e80448ae0e671e64359e4c3 | diff --git a/src/js/components/Markdown.js b/src/js/components/Markdown.js
index <HASH>..<HASH> 100644
--- a/src/js/components/Markdown.js
+++ b/src/js/components/Markdown.js
@@ -3,10 +3,10 @@
import React, { PropTypes, createElement } from 'react';
import { renderToStaticMarkup } from 'react-dom/server';
import mar... | Fixed a test issue with Markdown. | grommet_grommet | train |
0687614a41bd07efad99ddcc4eeda149a75798a4 | diff --git a/core/runtime.js b/core/runtime.js
index <HASH>..<HASH> 100644
--- a/core/runtime.js
+++ b/core/runtime.js
@@ -70,73 +70,61 @@ var define_method = Opal.defn = function(klass, id, body) {
return null;
-}
-
-function define_module(base, id) {
- var module;
-
- module = boot_module();
- m... | Seperate methods for creating classes, sclasses and modules | opal_opal | train |
44d842d7252ff74e92a6e8baf1b04215373de996 | diff --git a/html-lint.js b/html-lint.js
index <HASH>..<HASH> 100644
--- a/html-lint.js
+++ b/html-lint.js
@@ -791,7 +791,7 @@
jQuery: '1.7.2',
jQueryUI: '1.8.18',
- Modernizr: '2.6',
+ Modernizr: '2.6.1',
MooTools: '1.4.5',
YUI: '3.5.1'
}; | check for latest version of Modernizr | curtisj44_HTML-Lint | train |
2a78cc836d4021c7c6eec63fa61b9d5a889a6068 | diff --git a/src/Database/Schema/PostgresSchema.php b/src/Database/Schema/PostgresSchema.php
index <HASH>..<HASH> 100644
--- a/src/Database/Schema/PostgresSchema.php
+++ b/src/Database/Schema/PostgresSchema.php
@@ -380,7 +380,7 @@ class PostgresSchema extends BaseSchema {
if (isset($data['default']) && $data['type']... | use (bool) instead of (boolean) | cakephp_cakephp | train |
3c3c47191317f08c7bff3230ad818689050b84df | diff --git a/app/controllers/rocket_job_mission_control/jobs_controller.rb b/app/controllers/rocket_job_mission_control/jobs_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/rocket_job_mission_control/jobs_controller.rb
+++ b/app/controllers/rocket_job_mission_control/jobs_controller.rb
@@ -182,7 +182,7 ... | Fixing save/update method to not raise exception | rocketjob_rocketjob_mission_control | train |
b027653a2941a8b67ed3b4b4aa40d4880ddb8ad5 | diff --git a/datajoint/__init__.py b/datajoint/__init__.py
index <HASH>..<HASH> 100644
--- a/datajoint/__init__.py
+++ b/datajoint/__init__.py
@@ -6,12 +6,11 @@ from table import Table
from relvar import Relvar
from task import TaskQueue
from autopopulate import AutoPopulate
-from relation import Relation
import bl... | added __repr__ to dj.Heading | datajoint_datajoint-python | train |
16c941ad1dac981f1430cb55e52895e56beed2f0 | diff --git a/marshmallow/marshalling.py b/marshmallow/marshalling.py
index <HASH>..<HASH> 100644
--- a/marshmallow/marshalling.py
+++ b/marshmallow/marshalling.py
@@ -46,6 +46,23 @@ class ErrorStore(object):
errors = self.errors
return errors
+ def store_error(self, field_name, error, field_o... | Put the error storage logic in its own method
... so that we can store an error directly. | marshmallow-code_marshmallow | train |
a38e33a9c83c71119a69ad0ec4e5111aee911773 | diff --git a/command/agent/testagent.go b/command/agent/testagent.go
index <HASH>..<HASH> 100644
--- a/command/agent/testagent.go
+++ b/command/agent/testagent.go
@@ -143,11 +143,15 @@ RETRY:
a.Config.NodeName = fmt.Sprintf("Node %d", a.Config.Ports.RPC)
}
+ // Create a null logger before initializing the keyrin... | Fix panic in test due to the agent's logger not being initialized yet
So a null logger is used to avoid the problem. | hashicorp_nomad | train |
aa17435277116bb03e1ce8d050753e6590bbd064 | diff --git a/build.js b/build.js
index <HASH>..<HASH> 100644
--- a/build.js
+++ b/build.js
@@ -5,7 +5,7 @@ var fs = require('fs'),
correctNames = buildReverseIndex(canon);
var out = {},
- names = {};
+ defined = {};
for (var fullName in raw) {
filterValues(fullName);
@@ -43,9 +43,25 @@ function se... | Display possible conflicts
Doesn’t automatically block values from being made but useful in
defined which items are potential dupilicates that can be blocked in
canonical with the nix_value property. | osmlab_name-suggestion-index | train |
0ab701c4031c1bfc8c9530d5af89fa30f6ed26fb | diff --git a/lib/dashboard/public/dashboard.js b/lib/dashboard/public/dashboard.js
index <HASH>..<HASH> 100644
--- a/lib/dashboard/public/dashboard.js
+++ b/lib/dashboard/public/dashboard.js
@@ -54,7 +54,7 @@ window.onload = function () {
})
.on('reconnect_failed', function onReconnectFailed() {
- ... | Small jshint cleanups
[ci skip] | nodecg_nodecg | train |
2e1355e661369a1e162c5369a354777ec7070d2c | diff --git a/src/Message/PaymentIntents/AuthorizeRequest.php b/src/Message/PaymentIntents/AuthorizeRequest.php
index <HASH>..<HASH> 100644
--- a/src/Message/PaymentIntents/AuthorizeRequest.php
+++ b/src/Message/PaymentIntents/AuthorizeRequest.php
@@ -127,6 +127,26 @@ class AuthorizeRequest extends AbstractRequest
... | add: off session option for payment intents | thephpleague_omnipay-stripe | train |
9c1fea0d585e9180ecf6cc44415d146bfe06ad1d | diff --git a/bokeh/specialmodels/pandasmodel.py b/bokeh/specialmodels/pandasmodel.py
index <HASH>..<HASH> 100644
--- a/bokeh/specialmodels/pandasmodel.py
+++ b/bokeh/specialmodels/pandasmodel.py
@@ -25,15 +25,15 @@ class PandasDataSource(ContinuumModel):
kwargs['encoded'] = base64.b64encode(pickle.dumps(df... | Now you can make a datasource from pandas. Translates to dict internally. | bokeh_bokeh | train |
3227cc4f94714d92bbdcfcc497c556e67a3fb884 | diff --git a/src/Gosyl/CommonBundle/Twig/Datatable.php b/src/Gosyl/CommonBundle/Twig/Datatable.php
index <HASH>..<HASH> 100755
--- a/src/Gosyl/CommonBundle/Twig/Datatable.php
+++ b/src/Gosyl/CommonBundle/Twig/Datatable.php
@@ -242,7 +242,7 @@ class Datatable extends \Twig_Extension {
protected function _ajouteResulta... | Correction Twig\dataTable.php | gosyl_common-bundle | train |
9e054ce3b9f444470c2f1fab55eb9ae1557c8e61 | diff --git a/widgets/TbButtonGroup.php b/widgets/TbButtonGroup.php
index <HASH>..<HASH> 100644
--- a/widgets/TbButtonGroup.php
+++ b/widgets/TbButtonGroup.php
@@ -115,6 +115,7 @@ class TbButtonGroup extends CWidget
'items'=>isset($button['items']) ? $button['items'] : array(),
'ajaxOptions'=>isset($button['aj... | added possibility to set dropdownOptions for TbButtonGroup (Issue #<I>) | clevertech_YiiBooster | train |
51638b886b28ad6dece433f71385293a08ccbb5d | diff --git a/lib/redd/models/submission.rb b/lib/redd/models/submission.rb
index <HASH>..<HASH> 100644
--- a/lib/redd/models/submission.rb
+++ b/lib/redd/models/submission.rb
@@ -32,11 +32,16 @@ module Redd
end
# Set the sort order of the comments and reload if necessary.
- # @param order [:confide... | Stop sort_order= from making HTTP requests. | avinashbot_redd | train |
0883303eaec979dcdddb67d65385d954fa5d28d6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,6 @@
var path = require("path"),
- gutil = require("gulp-util"),
+ PluginError = require('plugin-error'),
+ Vinyl = require('vinyl'),
through = require("through2"),
customizr = require("customizr");
@@ -49,7 +50... | Drop dependency on deprecated `gulp-util` | rejas_gulp-modernizr | train |
549b1f0268a4217951a109b0a8e7ad09019f8909 | diff --git a/app/controllers/hyrax/citations_controller.rb b/app/controllers/hyrax/citations_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/hyrax/citations_controller.rb
+++ b/app/controllers/hyrax/citations_controller.rb
@@ -2,6 +2,7 @@
module Hyrax
class CitationsController < ApplicationControlle... | Redirect to home page when user unauthorized | samvera_hyrax | train |
93799be682d49b96c2884c952448161d87d6df6f | diff --git a/src/ChangeSet.php b/src/ChangeSet.php
index <HASH>..<HASH> 100644
--- a/src/ChangeSet.php
+++ b/src/ChangeSet.php
@@ -20,6 +20,7 @@ use SilverStripe\Security\Permission;
use BadMethodCallException;
use Exception;
use LogicException;
+use SilverStripe\Security\Security;
/**
* The ChangeSet model tra... | Move Member::currentUser() => Security::getCurrentUser()
Check if we have a member, as it can be passed in as null, but have a member anyway. | silverstripe_silverstripe-versioned | train |
5097368a891d8d15d17cf9656d312bf54ea41b33 | diff --git a/auth.class.php b/auth.class.php
index <HASH>..<HASH> 100755
--- a/auth.class.php
+++ b/auth.class.php
@@ -700,7 +700,7 @@ class Auth
if ($query->rowCount() === 0) {
$this->addAttempt();
- $return['message'] = $this->lang["key_incorrect"];
+ $return['message'] = $this->lang[$type."key_incorrect... | fixed missing and bad language line target in getRequest()
'key_incorrect' and 'key_expired' are not defined in language files.
fixed key name in function call and renamed key name in language files | PHPAuth_PHPAuth | train |
bb0df6560042a38cf764960e4e952bd2b59c969a | diff --git a/irc/connection.py b/irc/connection.py
index <HASH>..<HASH> 100644
--- a/irc/connection.py
+++ b/irc/connection.py
@@ -75,8 +75,6 @@ class AioFactory:
"""
- family = socket.AF_INET
-
def __init__(self, **kwargs):
self.connection_args = kwargs
diff --git a/irc/tests/test_client_ai... | fix: broken test on python >= <I> | jaraco_irc | train |
a2ce9d783f8ef741f9d6cda7156e89bc1ce9fa71 | diff --git a/lib/cloud_sesame/domain/base.rb b/lib/cloud_sesame/domain/base.rb
index <HASH>..<HASH> 100644
--- a/lib/cloud_sesame/domain/base.rb
+++ b/lib/cloud_sesame/domain/base.rb
@@ -37,8 +37,9 @@ module CloudSesame
end
def field(name, options = {})
- define_query_options(name, options.delete(:query)) ... | [sc ef] add field alias and override field options | 47colborne_cloud-sesame | train |
4ca00f8be33ae2a5ee3c77b9114622d0f0253f4d | diff --git a/README.rdoc b/README.rdoc
index <HASH>..<HASH> 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -5,7 +5,7 @@ Available thus far:
- half_star
- arc
- pie_slice
-- semi_circle
+- half_circle
- quarter_circle
= Usage
@@ -18,7 +18,7 @@ Available thus far:
pdf.arc_around([x, y], :radius => r, :start_an... | rename semi_circle to half_circle | Bluejade_prawn-shapes | train |
88b6c633afb4ba50fe46c0fef753bd209f832e67 | diff --git a/packages/netlify-cms-core/src/components/App/App.js b/packages/netlify-cms-core/src/components/App/App.js
index <HASH>..<HASH> 100644
--- a/packages/netlify-cms-core/src/components/App/App.js
+++ b/packages/netlify-cms-core/src/components/App/App.js
@@ -50,7 +50,12 @@ const ErrorCodeBlock = styled.pre`
`;... | feat: add hide property to collections (#<I>) (#<I>) | netlify_netlify-cms | train |
89352a808737d8e21087999e9fd4570896f6e21a | diff --git a/fireplace/__init__.py b/fireplace/__init__.py
index <HASH>..<HASH> 100644
--- a/fireplace/__init__.py
+++ b/fireplace/__init__.py
@@ -135,7 +135,7 @@ class Game(object):
for player in players:
player.game = self
self.turn = 0
- self.playerTurn = None
+ self.currentPlayer = None
self.status =... | Rename Game.playerTurn to Game.currentPlayer | jleclanche_fireplace | train |
96212cb8f5e7e1e8caba18d92f58755a33b07a67 | diff --git a/scripts/in_container/check_junitxml_result.py b/scripts/in_container/check_junitxml_result.py
index <HASH>..<HASH> 100755
--- a/scripts/in_container/check_junitxml_result.py
+++ b/scripts/in_container/check_junitxml_result.py
@@ -29,15 +29,22 @@ if __name__ == '__main__':
with open(fname) as fh:
... | Fix MyPy errors in `scripts/in_container` (#<I>) | apache_airflow | train |
9958e561d81c462667f521b915cc0482f51d097b | diff --git a/lib/outputcomponents.php b/lib/outputcomponents.php
index <HASH>..<HASH> 100644
--- a/lib/outputcomponents.php
+++ b/lib/outputcomponents.php
@@ -177,9 +177,10 @@ class user_picture implements renderable {
* @param string $tableprefix name of database table prefix in query
* @param array $extra... | MDL-<I> allow user_picture::fields() to be used multiple times within a single query
When user table is joined twice or more within a single query, it is
important to be able to provide aliases to all returned files. This
patch adds optional parameter that, if provided, is used as a prefix
for columns aliases. Does no... | moodle_moodle | train |
c9bf7232b6d3dd116f2229b531a168b03e314668 | diff --git a/lib/client_side_validations/action_view/form_with_helper.rb b/lib/client_side_validations/action_view/form_with_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/client_side_validations/action_view/form_with_helper.rb
+++ b/lib/client_side_validations/action_view/form_with_helper.rb
@@ -1,47 +1,55 @@
# froz... | Split up form_with method to lower complexity | DavyJonesLocker_client_side_validations | train |
50d4ad9cdcea8c40b2a82b4f26e054cd4adefd23 | diff --git a/lib/minimart/web/universe_generator.rb b/lib/minimart/web/universe_generator.rb
index <HASH>..<HASH> 100644
--- a/lib/minimart/web/universe_generator.rb
+++ b/lib/minimart/web/universe_generator.rb
@@ -96,7 +96,7 @@ module Minimart
end
def write_universe_file
- File.open(File.join(we... | Storing the universe file as 'universe' rather than 'universe.json' | electric-it_minimart | train |
35888fa1f6b47cd9f226b06071f7ce94ce6362b9 | diff --git a/encode.go b/encode.go
index <HASH>..<HASH> 100644
--- a/encode.go
+++ b/encode.go
@@ -41,7 +41,7 @@ type encoder struct {
func Encode(structPtr interface{}) (bytes []byte, err error) {
defer func() {
if e := recover(); e != nil {
- err = errors.New(e.(string))
+ err = fmt.Errorf("%v", e)
byte... | Fix panic in encode recovering
This fixes the panic that was happening when the recover had an
error type different than a string. | dedis_protobuf | train |
c4426cc0dd42a377d63881d33279ce7ddfbb581e | diff --git a/packages/openneuro-cli/src/__tests__/download.spec.js b/packages/openneuro-cli/src/__tests__/download.spec.js
index <HASH>..<HASH> 100644
--- a/packages/openneuro-cli/src/__tests__/download.spec.js
+++ b/packages/openneuro-cli/src/__tests__/download.spec.js
@@ -3,12 +3,12 @@ import { downloadUrl, checkDest... | CLI: Fix download tests to not depend on configuration file. | OpenNeuroOrg_openneuro | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.