hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
118bc80d73c4306a428d7b585b8adeb552c5bfc7 | diff --git a/nodejs/scripts/tests/GH73/GH73GDay.js b/nodejs/scripts/tests/GH73/GH73GDay.js
index <HASH>..<HASH> 100644
--- a/nodejs/scripts/tests/GH73/GH73GDay.js
+++ b/nodejs/scripts/tests/GH73/GH73GDay.js
@@ -13,26 +13,38 @@ module.exports = {
test.equal('---31', g.print({ day : 31 }));
test.equal('---21-05:00'... | Issue #<I>. Added a few more assertions. | highsource_jsonix | train |
96a21515429048b305cda2677e50d572bad6a8b7 | diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/index/SearchParamWithInlineReferencesExtractor.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/index/SearchParamWithInlineReferencesExtractor.java
index <HASH>..<HASH> 100644
--- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhi... | Remove unnecessary FIXMEs. | jamesagnew_hapi-fhir | train |
d10a6ed58f59c0cd71a52cc6ee05255cb52ddfc0 | diff --git a/spec/controllers/spree/admin/products_controller_decorator_spec.rb b/spec/controllers/spree/admin/products_controller_decorator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/controllers/spree/admin/products_controller_decorator_spec.rb
+++ b/spec/controllers/spree/admin/products_controller_decorator_spec.... | Remove clear_overrides from specs
These specs aren't adding overrides so this is unnecessary. Fixes build
against Solidus master (<I>.alpha) | solidusio-contrib_solidus_related_products | train |
26385df842d763455964f3ee276f8947859ef514 | diff --git a/lib/airbrake/utils/params_cleaner.rb b/lib/airbrake/utils/params_cleaner.rb
index <HASH>..<HASH> 100644
--- a/lib/airbrake/utils/params_cleaner.rb
+++ b/lib/airbrake/utils/params_cleaner.rb
@@ -55,14 +55,16 @@ module Airbrake
def clean_rack_request_data
if @cgi_data
- Airbr... | Refactor cgi_data filtering to use `filter_key?` | airbrake_airbrake | train |
16510d609c601aa7d466809f3073ec3313e08937 | diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Deprecate `ActiveRecord::Result#to_hash` in favor of `ActiveRecord::Result#to_a`.
+
+ *Gannon McGibbon*, *Kevin Cheng*
+
* SQLite3 ada... | Deprecate ActiveRecord::Result#to_hash in favor of #to_a
method returns an array of hashes, not a hash
e.g. Hash.try_convert(result) calls #to_hash and raises a TypeError
[Gannon McGibbon + Kevin Cheng] | rails_rails | train |
3fe93bd919446b08366a479ff6bae0dc87bf721f | diff --git a/spec/mount_spec.rb b/spec/mount_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mount_spec.rb
+++ b/spec/mount_spec.rb
@@ -17,43 +17,30 @@ describe CarrierWaveDirect::Mount do
it_should_have_accessor(:remote_video_net_url)
describe "#has_video_upload?" do
- context "video does not have a ke... | Refactored mount spec to use new rspec syntax and slight clean up | dwilkie_carrierwave_direct | train |
2b9a3c22a879c06a0b92e0c2f5576f682cdac571 | diff --git a/src/CodeGen/UserClass.php b/src/CodeGen/UserClass.php
index <HASH>..<HASH> 100644
--- a/src/CodeGen/UserClass.php
+++ b/src/CodeGen/UserClass.php
@@ -217,11 +217,13 @@ class UserClass implements Renderable
public function render(array $args = array())
{
- $lines = array_merge([], $this->... | Put namespace at the beginning of the file | c9s_CodeGen | train |
e310f6838a6c90b6888d4a78afbf03ec50d24a1d | diff --git a/pyup/requirements.py b/pyup/requirements.py
index <HASH>..<HASH> 100644
--- a/pyup/requirements.py
+++ b/pyup/requirements.py
@@ -37,19 +37,19 @@ class RequirementsBundle(list):
returned.append(pr)
yield pr
- def get_pull_request_class(self):
+ def get_pull_request... | no need to cover get_class functions | pyupio_pyup | train |
327c0e61c1617c3dd1ee68664da7f1c9e2d0cd09 | diff --git a/test/extended/prometheus/prometheus.go b/test/extended/prometheus/prometheus.go
index <HASH>..<HASH> 100644
--- a/test/extended/prometheus/prometheus.go
+++ b/test/extended/prometheus/prometheus.go
@@ -49,7 +49,7 @@ var _ = g.Describe("[Feature:Prometheus][Conformance] Prometheus", func() {
g.By("check... | Prometheus scrape is <I>s, so ensure we see at least one
Occasionally we were failing the test before the first scrape occurred. | openshift_origin | train |
1589e66c772bce92d4d0519fb3eda20f8bd9f8a3 | diff --git a/upup/pkg/fi/cloudup/awstasks/load_balancer.go b/upup/pkg/fi/cloudup/awstasks/load_balancer.go
index <HASH>..<HASH> 100644
--- a/upup/pkg/fi/cloudup/awstasks/load_balancer.go
+++ b/upup/pkg/fi/cloudup/awstasks/load_balancer.go
@@ -159,7 +159,7 @@ func describeLoadBalancers(cloud awsup.AWSCloud, request *elb... | Fix error handling around listing ELBs | kubernetes_kops | train |
c758ef3ad35e3d8617ed16febc21ed85e4fc05c2 | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -247,6 +247,7 @@ class ClassicalCalculator(base.HazardCalculator):
acc0 = self.acc0() # create the rup/ datasets... | Added logging [skip CI] | gem_oq-engine | train |
3d92dc98118b17c999c458498da339a474b81c86 | diff --git a/app/models/forms/AddOutputToStreamForm.java b/app/models/forms/AddOutputToStreamForm.java
index <HASH>..<HASH> 100644
--- a/app/models/forms/AddOutputToStreamForm.java
+++ b/app/models/forms/AddOutputToStreamForm.java
@@ -5,4 +5,12 @@ package models.forms;
*/
public class AddOutputToStreamForm {
pu... | Added getters/setters on model form because spring would not set it using JDK 8 otherwise | Graylog2_graylog2-server | train |
0bf701f848b19089278a5e5b94ae1b4f5a15999b | diff --git a/lib/paper_trail/has_paper_trail.rb b/lib/paper_trail/has_paper_trail.rb
index <HASH>..<HASH> 100644
--- a/lib/paper_trail/has_paper_trail.rb
+++ b/lib/paper_trail/has_paper_trail.rb
@@ -51,12 +51,9 @@ module PaperTrail
# is `:versions`.
# - :version - The name to use for the method which re... | Docs: For the join_tables option, see PT-AT
[ci skip] | paper-trail-gem_paper_trail | train |
482fc025f208efef0d3e419e726135cbe9ef9b74 | diff --git a/go/libkb/kbsig.go b/go/libkb/kbsig.go
index <HASH>..<HASH> 100644
--- a/go/libkb/kbsig.go
+++ b/go/libkb/kbsig.go
@@ -378,8 +378,11 @@ func (u *User) AuthenticationProof(key GenericKey, session string, ei int) (ret
if _, err = rand.Read(nonce[:]); err != nil {
return
}
- body.SetKey("nonce", jsonw.... | Update authentication proofs to use new auth section | keybase_client | train |
4a80dda52365ed60bab96b99e156cab3fbef42b9 | diff --git a/streamcorpus_pipeline/_exceptions.py b/streamcorpus_pipeline/_exceptions.py
index <HASH>..<HASH> 100644
--- a/streamcorpus_pipeline/_exceptions.py
+++ b/streamcorpus_pipeline/_exceptions.py
@@ -1,10 +1,12 @@
-'''
-This software is released under an MIT/X11 open source license.
+'''exceptions used in stream... | cleaning up exceptions, which had started to spread out | trec-kba_streamcorpus-pipeline | train |
f9643917a13876d88b461c16da43ff44bf160636 | diff --git a/packages/@vuepress/plugin-last-updated/index.js b/packages/@vuepress/plugin-last-updated/index.js
index <HASH>..<HASH> 100644
--- a/packages/@vuepress/plugin-last-updated/index.js
+++ b/packages/@vuepress/plugin-last-updated/index.js
@@ -1,3 +1,4 @@
+const path = require('path')
const spawn = require('cro... | fix($last-updated): use file author time instead of submodule commit time (#<I>) | vuejs_vuepress | train |
cf5114944ffa1f74befb7ce571845b732a45f2b8 | diff --git a/structr-ui/src/main/resources/structr/js/elements.js b/structr-ui/src/main/resources/structr/js/elements.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/elements.js
+++ b/structr-ui/src/main/resources/structr/js/elements.js
@@ -278,12 +278,12 @@ var _Elements = {
// Crea... | fixes cloning/creating of shared components for Content elements (Content/Template) | structr_structr | train |
4f88f7d4464a83ff8a9f4ad5e0c8ada1b1866a8d | diff --git a/src/SentinelCommand/AbstractDaemonSentinelCommand.php b/src/SentinelCommand/AbstractDaemonSentinelCommand.php
index <HASH>..<HASH> 100644
--- a/src/SentinelCommand/AbstractDaemonSentinelCommand.php
+++ b/src/SentinelCommand/AbstractDaemonSentinelCommand.php
@@ -62,16 +62,16 @@ class AbstractDaemonSentinelC... | * fix: a bug affecting first run using frequency param | oasmobile_php-slimapp | train |
fa02efdefce2ac8832b7381aaf9779b6160615d3 | diff --git a/detect.go b/detect.go
index <HASH>..<HASH> 100644
--- a/detect.go
+++ b/detect.go
@@ -18,10 +18,10 @@ func detectMultipartMessage(root *Part) bool {
return strings.HasPrefix(mediatype, ctMultipartPrefix)
}
-// detectAttachmentHeader returns true, if the given header defines an attachment. First it ch... | Updated "detectAttachmentHeader" doc comment to, more accurately, depict the function flow (#<I>) | jhillyerd_enmime | train |
6d61a3b7dc1363f695478bc0180f19c081246629 | diff --git a/gatling-http-client/src/main/java/io/gatling/http/client/uri/UriEncoder.java b/gatling-http-client/src/main/java/io/gatling/http/client/uri/UriEncoder.java
index <HASH>..<HASH> 100644
--- a/gatling-http-client/src/main/java/io/gatling/http/client/uri/UriEncoder.java
+++ b/gatling-http-client/src/main/java/... | nit: UriEncoder#RAW doesn't need to do anything is queryParams is empty | gatling_gatling | train |
54060fff6255904762b6f6a048a541d66f91a109 | diff --git a/tensor2tensor/data_generators/problem.py b/tensor2tensor/data_generators/problem.py
index <HASH>..<HASH> 100644
--- a/tensor2tensor/data_generators/problem.py
+++ b/tensor2tensor/data_generators/problem.py
@@ -19,7 +19,6 @@ from __future__ import division
from __future__ import print_function
import co... | Remove extra copy of model_hparams. model_hparams doesn't seem to be getting modified in _create_modalities, so I don't understand the need for copy.copy -- am I missing something?
PiperOrigin-RevId: <I> | tensorflow_tensor2tensor | train |
3886f3c7b245efb8b68fe2416e99c790ee79239b | diff --git a/schedula/utils/sol.py b/schedula/utils/sol.py
index <HASH>..<HASH> 100644
--- a/schedula/utils/sol.py
+++ b/schedula/utils/sol.py
@@ -177,7 +177,7 @@ class Solution(Base, collections.OrderedDict):
if self._wait_in:
wait_in = self._wait_in.get(n_id, wait_in)
if wait_in:
- ... | fix(dsp): Correct wrong workflow.pred reference. | vinci1it2000_schedula | train |
5d5e6495a7144c7c9b714494abf1ac8dbd1fa928 | diff --git a/js/base/Exchange.js b/js/base/Exchange.js
index <HASH>..<HASH> 100644
--- a/js/base/Exchange.js
+++ b/js/base/Exchange.js
@@ -14,7 +14,8 @@ const { deepExtend
, timeout
, sortBy
, aggregate
- , uuid } = functions
+ , uuid
+ , precisionFromString } = functions
const { ... | JS precisionFromString moved from Exchange → functions | ccxt_ccxt | train |
121d1c906e2bbddae96ef19f45a6198f1fafb4fc | diff --git a/django-openstack/django_openstack/auth/views.py b/django-openstack/django_openstack/auth/views.py
index <HASH>..<HASH> 100644
--- a/django-openstack/django_openstack/auth/views.py
+++ b/django-openstack/django_openstack/auth/views.py
@@ -68,24 +68,19 @@ class Login(forms.SelfHandlingForm):
... | Remove the keystone admin auth hack. Handle condition when no valid tenants returned gracefully. | openstack_horizon | train |
9b63fcd811d1595407912df105726bec48975591 | diff --git a/lib/lwm2m-common.js b/lib/lwm2m-common.js
index <HASH>..<HASH> 100644
--- a/lib/lwm2m-common.js
+++ b/lib/lwm2m-common.js
@@ -419,6 +419,14 @@ export class Resource {
let bufferType = (input.indexOf('base64:') === 0 ? 'base64' : (input.indexOf('hex:') === 0 ? 'hex' : ''));
if (bufferType) {
... | Fix an issue where Buffer.from() threw an error because the passed value was numeric | CANDY-LINE_node-red-contrib-lwm2m | train |
59ff22d1e3d7a0e9351ccf24e8bb66f5261f692e | diff --git a/phoebe/frontend/io.py b/phoebe/frontend/io.py
index <HASH>..<HASH> 100644
--- a/phoebe/frontend/io.py
+++ b/phoebe/frontend/io.py
@@ -20,14 +20,11 @@ _1to2par = {'ld_model':'ld_func',
# 'model': 'morphology',
'filter': 'passband',
'hjd0':'t0_ref',
-# 'hjd0':... | remove pot from phoebe1<->phoebe2 translation dictionary | phoebe-project_phoebe2 | train |
2171ee2b36813c67d346ce27e1ac1968ef417ac5 | diff --git a/lib/context.js b/lib/context.js
index <HASH>..<HASH> 100644
--- a/lib/context.js
+++ b/lib/context.js
@@ -46,7 +46,7 @@ exports.Context = INHERIT({
resolveTech: function(techIdent) {
return (bemUtil.isPath(techIdent) && this.resolveTechPath(techIdent)) ||
- (this.getLevel() && th... | Bug fix: Do not check for `getLevel()` before call of `resolveTechName()` in `Context.resolveTech()` | bem-archive_bem-tools | train |
90ed2507a6181d5172d376f0164dd0fd4927b816 | diff --git a/src/scripts/dataset/dataset.store.js b/src/scripts/dataset/dataset.store.js
index <HASH>..<HASH> 100644
--- a/src/scripts/dataset/dataset.store.js
+++ b/src/scripts/dataset/dataset.store.js
@@ -305,9 +305,17 @@ let datasetStore = Reflux.createStore({
* Toggle Modal
*/
toggleModal(name, cal... | If apps are missing retry loading apps when jobs modal opens | OpenNeuroOrg_openneuro | train |
40399cb1b137727c4fe8190336ba3a3937c92fae | diff --git a/networking_cisco/plugins/ml2/drivers/cisco/nexus/trunk.py b/networking_cisco/plugins/ml2/drivers/cisco/nexus/trunk.py
index <HASH>..<HASH> 100644
--- a/networking_cisco/plugins/ml2/drivers/cisco/nexus/trunk.py
+++ b/networking_cisco/plugins/ml2/drivers/cisco/nexus/trunk.py
@@ -15,7 +15,6 @@
from oslo_lo... | Remove references to import attributes.py
Calls made to update_port from trunk code was referencing the
string 'port' from attributes.py. For Pike this definition was
removed (moved to neutron_lib/api/definitions/port.py).
Other code uses 'port' without using a constant so doing the same
for trunk code.
Change-Id: I<... | openstack_networking-cisco | train |
7a1c761024c2dfef124538e8b8510897ddd5cf76 | diff --git a/src/Jade/Jade.php b/src/Jade/Jade.php
index <HASH>..<HASH> 100644
--- a/src/Jade/Jade.php
+++ b/src/Jade/Jade.php
@@ -95,7 +95,15 @@ class Jade {
extract($vars);
ob_start();
- include $file;
+ try
+ {
+ include $file;
+ }
+ catch(\Exception ... | Clean output before throw exception from include jade file | pug-php_pug | train |
dc1856ccf5cf27b9038525da3b6f2b703ff2364a | diff --git a/ibei/__init__.py b/ibei/__init__.py
index <HASH>..<HASH> 100644
--- a/ibei/__init__.py
+++ b/ibei/__init__.py
@@ -7,4 +7,4 @@ Base Library (:mod:`ibei`)
.. currentmodule:: ibei
"""
-from main import *
+from main import uibei, SQSolarcell, DeVosSolarcell | Import in a more discriminating fashion | jrsmith3_ibei | train |
ae8aaea54c9be7e5a2582203497605e2f6426614 | diff --git a/src/org/jgroups/Event.java b/src/org/jgroups/Event.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/Event.java
+++ b/src/org/jgroups/Event.java
@@ -1,4 +1,4 @@
-// $Id: Event.java,v 1.39 2007/03/07 11:04:11 belaban Exp $
+// $Id: Event.java,v 1.40 2007/03/07 14:34:29 belaban Exp $
package org.jgro... | added OPEN/CLOSE_BARRIER | belaban_JGroups | train |
59ca78b191c7e79740d264b4c89094ddfbab0165 | diff --git a/src/jaraco/media/dvd.py b/src/jaraco/media/dvd.py
index <HASH>..<HASH> 100644
--- a/src/jaraco/media/dvd.py
+++ b/src/jaraco/media/dvd.py
@@ -115,7 +115,7 @@ class MultiPassHandler(object):
command = self.command.copy()
command.audio_options=HyphenArgs(nosound=None)
command.video_options['lavcop... | Using os.path.devnull instead of windows-specific 'NUL'
Added support to dvd_info for DVD title length calculation. | jaraco_jaraco.util | train |
4b5f2b6e810f16bd9f6f4ac7e4b4b07348ca9bcb | diff --git a/ltdconveyor/s3upload.py b/ltdconveyor/s3upload.py
index <HASH>..<HASH> 100644
--- a/ltdconveyor/s3upload.py
+++ b/ltdconveyor/s3upload.py
@@ -401,11 +401,11 @@ class ObjectManager(object):
# subdirectories; trim down to the unique set.
dirnames = list(set(dirnames))
- if '.' in d... | Refactor POSIX relative dirname cleanup | lsst-sqre_ltd-conveyor | train |
41a49b70eae69921b95d2e5d1532bd811c007c76 | diff --git a/openpnm/algorithms/AdvectionDiffusion.py b/openpnm/algorithms/AdvectionDiffusion.py
index <HASH>..<HASH> 100644
--- a/openpnm/algorithms/AdvectionDiffusion.py
+++ b/openpnm/algorithms/AdvectionDiffusion.py
@@ -14,7 +14,7 @@ class AdvectionDiffusion(ReactiveTransport):
def __init__(self, settings={}, *... | Changed quantity in transport algs from mole_fraction to concentration. | PMEAL_OpenPNM | train |
721b6867ec4fee1c8d391b60ecb8927ed47179eb | diff --git a/aiotools/server.py b/aiotools/server.py
index <HASH>..<HASH> 100644
--- a/aiotools/server.py
+++ b/aiotools/server.py
@@ -73,8 +73,8 @@ def start_server(worker_actxmgr: AbstractAsyncContextManager,
main_ctxmgr: Optional[AbstractContextManager]=None,
extra_procs: Iterable... | CI: Fix missing spaces to slience flake8 E<I> | achimnol_aiotools | train |
b9aadc05cf2eebe34dda99c47cc727743e911aa2 | diff --git a/libact/labelers/ideal_labeler.py b/libact/labelers/ideal_labeler.py
index <HASH>..<HASH> 100644
--- a/libact/labelers/ideal_labeler.py
+++ b/libact/labelers/ideal_labeler.py
@@ -1,14 +1,29 @@
"""
Ideal/Noiseless labeler that returns true label
+
"""
from libact.base.interfaces import Labeler
+import nu... | [modification]modify ideal_labeler.py according to the comments | ntucllab_libact | train |
eb0fe80dbf738c568e43c3229761cdf67044d87e | diff --git a/doctr/__main__.py b/doctr/__main__.py
index <HASH>..<HASH> 100644
--- a/doctr/__main__.py
+++ b/doctr/__main__.py
@@ -477,7 +477,7 @@ def configure(args, parser):
script:
- set -e
- - {BOLD_BLACK}# <Command to build your docs>{RESET}
+ - {BOLD_BLACK}<Command to build... | Remove comment indicator
Since we now say to replace things in angle brackets, it's incorrect to have
this as a comment. | drdoctr_doctr | train |
4ef53af581e0d76add7ecd8adf597ac6912a9eba | diff --git a/router_test.go b/router_test.go
index <HASH>..<HASH> 100644
--- a/router_test.go
+++ b/router_test.go
@@ -85,6 +85,7 @@ func TestRouter_Lookup(t *testing.T) {
{"/orgs/:org/events", "testroute1", []denco.Param{{"org", ":org"}}, true},
{"/notifications/threads/:id", "testroute2", []denco.Param{{"id", "... | Fix an issue that testcases is not running | naoina_denco | train |
1dd3b3683364b5e33c694fc9482171f7c9702b02 | diff --git a/sixpack/models.py b/sixpack/models.py
index <HASH>..<HASH> 100644
--- a/sixpack/models.py
+++ b/sixpack/models.py
@@ -244,7 +244,7 @@ class Experiment(object):
self.kpi = kpi
def get_kpis(self):
- return self.redis.smembers("{0}:kpis".format(self.key()))
+ return self.redis.sm... | pass KPI value through javascript back to server, refs #<I> | sixpack_sixpack | train |
379865b53adb48c38b9ea46934cbc82dc95031a5 | diff --git a/lib/danger/dangerfile.rb b/lib/danger/dangerfile.rb
index <HASH>..<HASH> 100644
--- a/lib/danger/dangerfile.rb
+++ b/lib/danger/dangerfile.rb
@@ -26,8 +26,8 @@ module Danger
rows = []
AvailableValues.all.each do |key|
- next if key == :pr_body
value = self.send(key)
+ ... | Less special treatment for pr_body field | danger_danger | train |
c6570251b58c88fb7ea412397c1153c6c03de60e | diff --git a/lib/flapjack/data/alert.rb b/lib/flapjack/data/alert.rb
index <HASH>..<HASH> 100644
--- a/lib/flapjack/data/alert.rb
+++ b/lib/flapjack/data/alert.rb
@@ -134,7 +134,7 @@ module Flapjack
def to_s
contact = medium.contact
- msg = "Alert via #{medium.type}:#{medium.address} to contact... | fix for method only called in ruby <I> | flapjack_flapjack | train |
cbf0b9f4e61e22c87212a23a526cafa217969f9d | diff --git a/core/interpreter/src/main/java/org/overture/interpreter/eval/BinaryExpressionEvaluator.java b/core/interpreter/src/main/java/org/overture/interpreter/eval/BinaryExpressionEvaluator.java
index <HASH>..<HASH> 100644
--- a/core/interpreter/src/main/java/org/overture/interpreter/eval/BinaryExpressionEvaluator.... | Correction for map compose calls with incompatible dom/rng | overturetool_overture | train |
7c26d86b1ba4619a88551d919aa3ba7e5c392ab7 | diff --git a/eZ/Bundle/EzPublishCoreBundle/Resources/config/papi.yml b/eZ/Bundle/EzPublishCoreBundle/Resources/config/papi.yml
index <HASH>..<HASH> 100644
--- a/eZ/Bundle/EzPublishCoreBundle/Resources/config/papi.yml
+++ b/eZ/Bundle/EzPublishCoreBundle/Resources/config/papi.yml
@@ -82,8 +82,8 @@ services:
argu... | Fix misc CS/WS issues reported in PR #<I> | ezsystems_ezpublish-kernel | train |
55c5b612e6ce0d2f8de0f5ade9e73c3b287d1fdd | diff --git a/WebAudioFontPlayer.js b/WebAudioFontPlayer.js
index <HASH>..<HASH> 100644
--- a/WebAudioFontPlayer.js
+++ b/WebAudioFontPlayer.js
@@ -1,4 +1,4 @@
-console.log('WebAudioFont Player v1.43');
+console.log('WebAudioFont Player v1.44');
function WebAudioFontPlayer() {
this.envelopes = [];
this.afterTim... | cleanup audioBufferSourceNodes on cancel | surikov_webaudiofont | train |
57b89b538d53aaa46e96b8cc4fc7a1a6b5ef1d2f | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -628,6 +628,10 @@ to change Zappa's behavior. Use these at your own risk!
"Action": ["rekognition:*"], // AWS Service ARN
"Resource": "*"
}],
+ "extra_tags": { // Attach additional... | Add in the ability to set AWS tags | Miserlou_Zappa | train |
2a216c94363682316c6cbef64d7e1807af7b70e9 | diff --git a/warehouse/accounts/views.py b/warehouse/accounts/views.py
index <HASH>..<HASH> 100644
--- a/warehouse/accounts/views.py
+++ b/warehouse/accounts/views.py
@@ -34,9 +34,11 @@ def profile(request, username):
return {"user": user}
-@view_config(route_name="accounts.login", renderer="accounts/login.htm... | Switch to using decorators than are used with @view_config | pypa_warehouse | train |
3e8473b0876d1b3e530d0628c5bd975610eef4a2 | diff --git a/src/Str.php b/src/Str.php
index <HASH>..<HASH> 100644
--- a/src/Str.php
+++ b/src/Str.php
@@ -1357,24 +1357,9 @@ final class Str implements \Countable {
* @return static a new instance of this class
*/
public function between($start, $end) {
- if ($start === '' || $end === '') {
- return new sta... | Implement method 'between' using two calls to 'sideInternal' | delight-im_PHP-Str | train |
64c94ee69eaa99d703f912af2b67456c24afe30e | diff --git a/themes/socialbase/src/Plugin/Alter/ThemeSuggestions.php b/themes/socialbase/src/Plugin/Alter/ThemeSuggestions.php
index <HASH>..<HASH> 100644
--- a/themes/socialbase/src/Plugin/Alter/ThemeSuggestions.php
+++ b/themes/socialbase/src/Plugin/Alter/ThemeSuggestions.php
@@ -138,7 +138,7 @@ class ThemeSuggestion... | DS-<I> by jochemvn: Fixed typo | goalgorilla_open_social | train |
464b8956d0854fb11a3f5c8c0d67c52435979c7d | diff --git a/src/exceptions/InvalidParameterException.php b/src/exceptions/InvalidParameterException.php
index <HASH>..<HASH> 100644
--- a/src/exceptions/InvalidParameterException.php
+++ b/src/exceptions/InvalidParameterException.php
@@ -52,4 +52,4 @@ class InvalidParameterException extends InvalidArgumentException {
... | ADD: a new line at the end of the files, according to <URL> | greenlion_PHP-SQL-Parser | train |
83db7b0825079804c4fa50afc733fba426571201 | diff --git a/lib/xero_gateway/error.rb b/lib/xero_gateway/error.rb
index <HASH>..<HASH> 100644
--- a/lib/xero_gateway/error.rb
+++ b/lib/xero_gateway/error.rb
@@ -14,5 +14,21 @@ module XeroGateway
end
return true
end
+
+ # pass a REXML::Element error object to
+ # have returned a new Error obj... | Moving parse_error() from Gateway to Error, to be reused by Invoice | xero-gateway_xero_gateway | train |
eee23be5718df7cec26c5e11f716dc267f4837c0 | diff --git a/lib/nylas/errors.rb b/lib/nylas/errors.rb
index <HASH>..<HASH> 100644
--- a/lib/nylas/errors.rb
+++ b/lib/nylas/errors.rb
@@ -12,6 +12,13 @@ module Nylas
class ModelNotUpdatableError < ModelActionError; end
class ModelNotDestroyableError < ModelActionError; end
+ # Raised when attempting to set a ... | Adding fields to the API does not break model instantiation (#<I>)
* Adding fields does not break model initialization
* Clarify test that ensures support for more fields
* Inline the attribute_definitions instance method
* Raise intent revealing exception on update of missing field on model | nylas_nylas-ruby | train |
fce71d6629cb3b9567f91dd71b36ef480578aa25 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -74,7 +74,7 @@ setup(name='PyVISA',
'pyvisa.testsuite'],
platforms="Linux, Windows,Mac",
entry_points={'console_scripts':
- ['visa=visa:visa_main']},
+ ['pyv... | renamed visa to pyvisa-shell | pyvisa_pyvisa | train |
6b9ea2b286a67eb1e1095cc619c29433e38c89eb | diff --git a/app/models/concerns/foreman_remote_execution/nic_extensions.rb b/app/models/concerns/foreman_remote_execution/nic_extensions.rb
index <HASH>..<HASH> 100644
--- a/app/models/concerns/foreman_remote_execution/nic_extensions.rb
+++ b/app/models/concerns/foreman_remote_execution/nic_extensions.rb
@@ -4,10 +4,1... | Fixes #<I> - Move the execution flag
This only works when the interface is being updated through the host. It does
nothing if interface is being updated directly through
/api/v2/hosts/$host_id/interfaces/$interface_id.
When multiple interfaces are being marked as execution at the same time, the
first one to be proces... | theforeman_foreman_remote_execution | train |
5de4b1f6f84d5d0ed571ce91ecc2c8418a26ecc8 | diff --git a/src/Illuminate/Database/Console/Migrations/FreshCommand.php b/src/Illuminate/Database/Console/Migrations/FreshCommand.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/Console/Migrations/FreshCommand.php
+++ b/src/Illuminate/Database/Console/Migrations/FreshCommand.php
@@ -94,7 +94,7 @@ class F... | [6.x] Allow multiple paths to be passed to migrate fresh and migrate refresh (#<I>)
* Allow multiple paths to be passed to migrate fresh and migrate refresh
* Update FreshCommand.php
* Update RefreshCommand.php | laravel_framework | train |
539d52d0280e337cc74727c73c81c8ebd4bceacc | diff --git a/template/app/view/examples/InlinePreview.js b/template/app/view/examples/InlinePreview.js
index <HASH>..<HASH> 100644
--- a/template/app/view/examples/InlinePreview.js
+++ b/template/app/view/examples/InlinePreview.js
@@ -104,7 +104,7 @@ Ext.define('Docs.view.examples.InlinePreview', {
if (Docs.da... | Fix error when running Touch examples within doctests. | senchalabs_jsduck | train |
190ae63104f721537fee017b322bfdd675a70a5a | diff --git a/src/js/tests/unit/confirmation.js b/src/js/tests/unit/confirmation.js
index <HASH>..<HASH> 100644
--- a/src/js/tests/unit/confirmation.js
+++ b/src/js/tests/unit/confirmation.js
@@ -208,16 +208,4 @@ $(function () {
});
$el.find('button').trigger('click.sui.confirmation.data-api', true);
});
-
... | removed unnecessary test as there is no need to check for modal when defaultAction was not prevented | visionappscz_bootstrap-ui | train |
9f8f5658e8221c499645cde5ba7f4641eae0a5c0 | diff --git a/test/test_mapnik_shield_symbolizer.rb b/test/test_mapnik_shield_symbolizer.rb
index <HASH>..<HASH> 100644
--- a/test/test_mapnik_shield_symbolizer.rb
+++ b/test/test_mapnik_shield_symbolizer.rb
@@ -66,13 +66,6 @@ class TestMapnikShieldSymbolizer < Test::Unit::TestCase
# raise @sym.fontset.inspect
#... | Remove tests for force_odd_labels
The functionality was removed from ruby-mapnik in
abb<I>a<I>ff2a<I>f<I>dc<I>e<I>ca2de<I> and has been removed in
mapnik too (see <URL>) | mapnik_Ruby-Mapnik | train |
76418972a6bc3006240a43e3cca63c6a47cf02c2 | diff --git a/hamster_lib/helpers/config_helpers.py b/hamster_lib/helpers/config_helpers.py
index <HASH>..<HASH> 100644
--- a/hamster_lib/helpers/config_helpers.py
+++ b/hamster_lib/helpers/config_helpers.py
@@ -145,17 +145,11 @@ def write_config_file(config_instance, app_name=DEFAULT_APP_NAME,
return config_instan... | Changed 'get_config' helper to 'load_config'(#<I>)
The changed helper method limits itself to retrieval of the configparser
instance if a file is present. Otherwise it lets the caller know. It no
longer ensures that a default config is written and returned. This is
the clients task if it wishes this.
Closes: #<I> | projecthamster_hamster-lib | train |
760fc885fe903386f8fbf4774ce0b36261e7bfd5 | diff --git a/profitbricks/client.py b/profitbricks/client.py
index <HASH>..<HASH> 100644
--- a/profitbricks/client.py
+++ b/profitbricks/client.py
@@ -105,10 +105,7 @@ class ProfitBricksService(object):
' Volumes '
if len(datacenter.volumes) > 0:
for volume in datacenter.volumes:
- ... | Bugfixing client.py on creating a datacenter with unconnected storage volumes. | profitbricks_profitbricks-sdk-python | train |
6d66b7573f931c16e456788ba20da89021f4ed2a | diff --git a/lib/punchblock/protocol/rayo/connection.rb b/lib/punchblock/protocol/rayo/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/punchblock/protocol/rayo/connection.rb
+++ b/lib/punchblock/protocol/rayo/connection.rb
@@ -170,7 +170,7 @@ module Punchblock
# FIXME: Do we need to raise a warning if th... | Avoid leaking memory in the command callback hash synchronising commands and their responses | adhearsion_punchblock | train |
32fbe5007c1361cfcb4f954535ccc7ce0706c13e | diff --git a/tasktiger/worker.py b/tasktiger/worker.py
index <HASH>..<HASH> 100644
--- a/tasktiger/worker.py
+++ b/tasktiger/worker.py
@@ -536,9 +536,9 @@ class Worker(object):
try:
while True:
- if not self._queue_set:
- self._update_queue_set(
- ... | Update the queue set on every iteration so we don't get stuck on processing a specific queue. | closeio_tasktiger | train |
f26e763331a2aa83b469c1cd1a041af9fac5621b | diff --git a/lib/z_k/client.rb b/lib/z_k/client.rb
index <HASH>..<HASH> 100644
--- a/lib/z_k/client.rb
+++ b/lib/z_k/client.rb
@@ -74,18 +74,9 @@ module ZK
end
end
- # allows us to get the stat at time of creation, by default, just return
- # the created path
- return_stat = h.delete(:r... | wow, mountain out of a molehill, it's ok if the leader_ack exists, we won the vote | zk-ruby_zk | train |
dcfe048ad461dd07bf663586ca510e3a945b98ff | diff --git a/server/process/sonar-process/src/main/java/org/sonar/process/Monitor.java b/server/process/sonar-process/src/main/java/org/sonar/process/Monitor.java
index <HASH>..<HASH> 100644
--- a/server/process/sonar-process/src/main/java/org/sonar/process/Monitor.java
+++ b/server/process/sonar-process/src/main/java/... | Synchronized monitored list of processes | SonarSource_sonarqube | train |
17113039bef1ea635d746a54158d4b6a06d8432d | diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php
index <HASH>..<HASH> 100644
--- a/code/model/SiteTree.php
+++ b/code/model/SiteTree.php
@@ -174,7 +174,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
/**
* @see SiteTree::nested_urls()
*/
- private static $nest... | NEW Enable SiteTree::$nested_urls by default | silverstripe_silverstripe-reports | train |
777d8841173212838f6a4879aaebed8275e715c5 | diff --git a/src/SamsonTree.php b/src/SamsonTree.php
index <HASH>..<HASH> 100644
--- a/src/SamsonTree.php
+++ b/src/SamsonTree.php
@@ -25,6 +25,18 @@ class SamsonTree
}
/**
+ * Help method for sorting structures
+ * @param $str1 \samson\cms\Navigation
+ * @param $str2 \samson\cms\Navigation
+ ... | added sorting by priorityNumber for children | samsonos_php_treeview | train |
5be77029a8ffbe5693f3aeb90cbf1b9475ae4761 | diff --git a/lib/fauxhai/fetcher.rb b/lib/fauxhai/fetcher.rb
index <HASH>..<HASH> 100644
--- a/lib/fauxhai/fetcher.rb
+++ b/lib/fauxhai/fetcher.rb
@@ -1,6 +1,6 @@
require "digest/sha1"
-require "json"
-require "net/ssh"
+require "json" unless defined?(JSON)
+require "net/ssh" unless defined?(Net::SSH)
module Fauxha... | Optimize how we require deps to speed up requires
Rubygems is very slow at requiring deps | chefspec_fauxhai | train |
1e87776221fa3ee96482cca61f0e63ed0a3e3e2f | diff --git a/src/Rvdv/Nntp/Client.php b/src/Rvdv/Nntp/Client.php
index <HASH>..<HASH> 100644
--- a/src/Rvdv/Nntp/Client.php
+++ b/src/Rvdv/Nntp/Client.php
@@ -53,7 +53,7 @@ class Client implements ClientInterface
public function disconnect()
{
if (!$this->connection->disconnect()) {
- thro... | Added some docblock comments. | robinvdvleuten_php-nntp | train |
2c283115e4ba9fa7df72337d42c67e726729d6df | diff --git a/authapi/permissions.py b/authapi/permissions.py
index <HASH>..<HASH> 100644
--- a/authapi/permissions.py
+++ b/authapi/permissions.py
@@ -182,7 +182,8 @@ class UserPermission(BaseComposedPermision):
only_admins_create_admins = Or(
AllowAdmin,
And(
- ObjAttr... | flake8 shorten line that's too long | praekeltfoundation_seed-auth-api | train |
33478310850375fc3e04b3a3aa9219df02e94535 | diff --git a/src/main/java/pro/zackpollard/telegrambot/api/chat/message/send/SendableForwardMessage.java b/src/main/java/pro/zackpollard/telegrambot/api/chat/message/send/SendableForwardMessage.java
index <HASH>..<HASH> 100644
--- a/src/main/java/pro/zackpollard/telegrambot/api/chat/message/send/SendableForwardMessage.... | Allow forwarding messages by ID as well as by a Message object, resolves #<I> | zackpollard_JavaTelegramBot-API | train |
79ef73ca3a12c75e700c47d7694e16f104079c83 | diff --git a/src/main/java/com/j256/simplejmx/server/JmxServer.java b/src/main/java/com/j256/simplejmx/server/JmxServer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/j256/simplejmx/server/JmxServer.java
+++ b/src/main/java/com/j256/simplejmx/server/JmxServer.java
@@ -102,14 +102,6 @@ public class JmxServer {... | Removed confusing method that just delegated to another. | j256_simplejmx | train |
87c32770be51d6af8833de7e6131aa59b0139815 | diff --git a/lib/girffi/builder.rb b/lib/girffi/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/girffi/builder.rb
+++ b/lib/girffi/builder.rb
@@ -26,7 +26,7 @@ module GirFFI
lb = setup_lib_for_ffi namespace, namespacem
- unless klass.instance_methods(false).include? :method_missing
+ unless klass.... | All tests pass for both ruby <I> and ruby <I>. | mvz_gir_ffi | train |
52206ce9d0353bc01b7238fe86aa19a92ec6effb | diff --git a/package.json b/package.json
index <HASH>..<HASH> 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"gitbook-plugin-sharing": "1.0.1",
"gitbook-plugin-search": "1.1.0",
"gitbook-plugin-fontsettings": "1.0.2",
+ "gitbook-plugin-theme-default": "git+https://githu... | Add test for copy of assets in website generator | GitbookIO_gitbook | train |
ba32303ad004b05850afb7b230fa81df34291b0a | diff --git a/src/View/Form/EntityContext.php b/src/View/Form/EntityContext.php
index <HASH>..<HASH> 100644
--- a/src/View/Form/EntityContext.php
+++ b/src/View/Form/EntityContext.php
@@ -125,8 +125,11 @@ class EntityContext implements ContextInterface
$table = $this->_context['table'];
/** @var \Cake\... | Fix collection check.
Currently the collection flag is not properly set if a table is not
explicitly specified in the context.
Closes #<I>. | cakephp_cakephp | train |
6f73dc7ca7fba8963aad81ec214979e2cc7a717a | diff --git a/build/js/Treeview.js b/build/js/Treeview.js
index <HASH>..<HASH> 100644
--- a/build/js/Treeview.js
+++ b/build/js/Treeview.js
@@ -87,15 +87,15 @@ const Treeview = (($) => {
}
toggle(event) {
+ event.preventDefault()
+
const $relativeTarget = $(event.currentTarget)
- const treev... | changed next() to find() in Treeview toggle() | ColorlibHQ_AdminLTE | train |
426a3e4e5484684e5e1c397e3d483f35761c95d6 | diff --git a/mpop/saturn/two_line_elements.py b/mpop/saturn/two_line_elements.py
index <HASH>..<HASH> 100644
--- a/mpop/saturn/two_line_elements.py
+++ b/mpop/saturn/two_line_elements.py
@@ -66,13 +66,23 @@ class Tle(object):
if satellite:
tles_dict = {}
- for f in ["resource.txt", "w... | Feature: use local tles instead of downloading systematically. | pytroll_satpy | train |
c96812f8097076d34e50210220ff0a066f48f686 | diff --git a/test/conflicter.js b/test/conflicter.js
index <HASH>..<HASH> 100644
--- a/test/conflicter.js
+++ b/test/conflicter.js
@@ -51,7 +51,7 @@ describe('conflicter', function() {
});
- describe('conflicter#collision(filepath, content, cb)', function(done) {
+ describe.skip('conflicter#collision(filepath,... | travis - skip conflicter tests to avoid system issues | yeoman_environment | train |
408c47f146fa87264f9e6ad5ca4069b133ca1dff | diff --git a/abilian/app.py b/abilian/app.py
index <HASH>..<HASH> 100644
--- a/abilian/app.py
+++ b/abilian/app.py
@@ -20,7 +20,7 @@ from flask.helpers import locked_cached_property, send_from_directory
import jinja2
from flask.ext.assets import Bundle, Environment as AssetsEnv
-from abilian.core import extensions
... | added signal: components_registered | abilian_abilian-core | train |
08bbd39f0ee7dd950951c6517a33ba505a6b3444 | diff --git a/src/points/PointOctree.js b/src/points/PointOctree.js
index <HASH>..<HASH> 100644
--- a/src/points/PointOctree.js
+++ b/src/points/PointOctree.js
@@ -226,7 +226,7 @@ function fetch(point, octree, octant) {
for(i = 0, l = points.length; result === null && i < l; ++i) {
- if(point.distanceToSquare... | Check equality instead of distances.
Removed the threshold field. Related #<I>. | vanruesc_sparse-octree | train |
9f5756e696bd1d5a49fbcae7321e9e3ae92af8ed | diff --git a/lib/sgf/parser/node.rb b/lib/sgf/parser/node.rb
index <HASH>..<HASH> 100644
--- a/lib/sgf/parser/node.rb
+++ b/lib/sgf/parser/node.rb
@@ -1,67 +1,70 @@
-module SgfParser
-
- # Each part of the SGF Tree is a node. This holds links to the parent node,
- # to the next node(s) in the tree, and of course, ... | Adding a child to a node now sets the parent automatically on the child. | Trevoke_SGFParser | train |
737923ac009b531b941a33978ba1172d704e94b5 | diff --git a/inc/redirect/namespace.php b/inc/redirect/namespace.php
index <HASH>..<HASH> 100644
--- a/inc/redirect/namespace.php
+++ b/inc/redirect/namespace.php
@@ -357,14 +357,19 @@ function do_open() {
* Force download
*
* @param string $filepath fullpath to a file
- * @param bool $inline
+ * @param bool (opt... | Add ability to change basename the user gets prompted with in their browser (#<I>) | pressbooks_pressbooks | train |
fe94712acd74b884e48128765058ee5be757d27a | diff --git a/django_mysql/models/query.py b/django_mysql/models/query.py
index <HASH>..<HASH> 100644
--- a/django_mysql/models/query.py
+++ b/django_mysql/models/query.py
@@ -82,7 +82,8 @@ class QuerySetMixin(object):
approx_count = cursor.fetchone()[8] # 'rows' is the 9th column
if min_size an... | Fix another recursion error case in count_tries_approx | adamchainz_django-mysql | train |
c023e23e0faaa8b086b73770042870ecbbe32863 | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -1020,7 +1020,7 @@ cache(function(data, match, sendBadge, request) {
}));
// Gratipay integration.
-camp.route(/^\/(?:gittip|gratipay(\/user|\/team)?)\/(.*)\.(svg|png|gif|jpg|json)$/,
+camp.route(/^\/(?:gittip|gratipay... | Change Gratipay 'tips' to 'receives'
Pull request: #<I>. | badges_shields | train |
155db085a47e4e2d8b91cd4148d848f190371bc8 | diff --git a/cyphi/compute.py b/cyphi/compute.py
index <HASH>..<HASH> 100644
--- a/cyphi/compute.py
+++ b/cyphi/compute.py
@@ -18,6 +18,7 @@ from scipy.sparse import csr_matrix
from . import utils, options
from .models import Concept, Cut, BigMip
from .network import Network
+from .subsystem import Subsystem
from .... | Move subsystem generator from Network to compute | wmayner_pyphi | train |
421f878396e032d3c249e766d75a3565f44520f2 | diff --git a/src/com/opencms/file/genericSql/CmsResourceBroker.java b/src/com/opencms/file/genericSql/CmsResourceBroker.java
index <HASH>..<HASH> 100644
--- a/src/com/opencms/file/genericSql/CmsResourceBroker.java
+++ b/src/com/opencms/file/genericSql/CmsResourceBroker.java
@@ -1,7 +1,7 @@
/*
* File : $Source: /alk... | Added method for selecting files by type.
Changed method for reading resources like name.
Added methods for reading linkcheck table from system properties. | alkacon_opencms-core | train |
e8442656ec475141c4ae93761e564eb3f85d507a | diff --git a/src/Enhavo/Bundle/RoutingBundle/Router/Strategy/RouteStrategy.php b/src/Enhavo/Bundle/RoutingBundle/Router/Strategy/RouteStrategy.php
index <HASH>..<HASH> 100644
--- a/src/Enhavo/Bundle/RoutingBundle/Router/Strategy/RouteStrategy.php
+++ b/src/Enhavo/Bundle/RoutingBundle/Router/Strategy/RouteStrategy.php
@... | throw UrlResolverException if route name is null | enhavo_enhavo | train |
d0cac53c24ac62a9b0a2e150812d8ded7f34ad45 | diff --git a/pysat/utils/files.py b/pysat/utils/files.py
index <HASH>..<HASH> 100644
--- a/pysat/utils/files.py
+++ b/pysat/utils/files.py
@@ -654,19 +654,25 @@ def check_and_make_path(path):
"""
if not os.path.exists(path):
- # make path, checking to see that each level exists before attempting
+ ... | BUG: Added check for invalid input path | rstoneback_pysat | train |
c78dc686d694167026387ebded9f6b48cc747d95 | diff --git a/django_libs/__init__.py b/django_libs/__init__.py
index <HASH>..<HASH> 100644
--- a/django_libs/__init__.py
+++ b/django_libs/__init__.py
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
-__version__ = '1.66.11'
+__version__ = '1.66.12'
diff --git a/django_libs/utils_email.py b/django_libs/utils_email.py
index <HA... | always set reply_to argument in send_email function | bitlabstudio_django-libs | train |
89b31665eb21c15ecfdb23268a618b091417e30f | diff --git a/basecamp.py b/basecamp.py
index <HASH>..<HASH> 100755
--- a/basecamp.py
+++ b/basecamp.py
@@ -73,7 +73,7 @@ class Basecamp(object):
% base64.encodestring('%s:%s' % (username, password)))]
def _request(self, path, data=None):
- if isinstance(data, ET._ElementInterface):
+ ... | Changed to duck-ier typing. | cmheisel_basecampreporting | train |
e655f62bcccdf55fbc62b96cd6b12e7fbe68aaba | diff --git a/docs/tutorials/vision/cnn_visualization.md b/docs/tutorials/vision/cnn_visualization.md
index <HASH>..<HASH> 100644
--- a/docs/tutorials/vision/cnn_visualization.md
+++ b/docs/tutorials/vision/cnn_visualization.md
@@ -151,7 +151,8 @@ def show_images(pred_str, images):
for i in range(num_images):
... | [Example] Fixing Gradcam implementation (#<I>)
* fixing gradcam
* changed loading parameters code
* fixing type conversions issue with previous versions of matplotlib | apache_incubator-mxnet | train |
456a5d98e3f50554961a46e7df433c7eae06eb8d | diff --git a/lib/mongoid/indexable.rb b/lib/mongoid/indexable.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/indexable.rb
+++ b/lib/mongoid/indexable.rb
@@ -106,8 +106,9 @@ module Mongoid
# @return [ Specification ] The found specification.
#
# @since 4.0.0
- def index_specification(key)
- ... | Indexes should not be compared only by keys.
Compounded indexes with the same keys, but with different order values,
should be added without condering itself as a duplicate.
[fixes #<I>] | mongodb_mongoid | train |
5eab52c0854caeb1d514ac523d224b0a8cb45458 | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index <HASH>..<HASH> 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -832,13 +832,16 @@ def hist_frame(data, grid=True, xlabelsize=None, xrot=None,
"""
import matplotlib.pyplot as plt
n = len(data.columns)
- k = 1... | ENH: Allow different number of rows & columns in a histogram plot | pandas-dev_pandas | train |
14e99e55652cc1f9724ffec8e408026ceb85a572 | diff --git a/src/main/java/org/jdbdt/JDBDT.java b/src/main/java/org/jdbdt/JDBDT.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jdbdt/JDBDT.java
+++ b/src/main/java/org/jdbdt/JDBDT.java
@@ -167,11 +167,11 @@ public final class JDBDT {
* new TableBuilder().name(tableName)
* </code>
*
- ... | JDBDT: small adjustment / documentation fix | JDBDT_jdbdt | train |
d701ed2f77bb9088b58620b44e39405f317cfe62 | diff --git a/spec/models/renalware/patient_spec.rb b/spec/models/renalware/patient_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/renalware/patient_spec.rb
+++ b/spec/models/renalware/patient_spec.rb
@@ -103,7 +103,7 @@ module Renalware
describe "set_modality" do
context "given the patient has no mod... | Improved Date/Time usage within patient_spec. | airslie_renalware-core | train |
0486a6b1b2500f42685a61091e84a2c4798b8aaf | diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/fixtures/base_case.py
+++ b/seleniumbase/fixtures/base_case.py
@@ -9670,6 +9670,32 @@ class BaseCase(unittest.TestCase):
self.__add_deferred_assert_failure()
retu... | Add the "deferred" version of the check_window() method | seleniumbase_SeleniumBase | train |
c1826813f342baecb2b490a3978a4e81651d075e | diff --git a/rbac/role_manager_test.go b/rbac/role_manager_test.go
index <HASH>..<HASH> 100644
--- a/rbac/role_manager_test.go
+++ b/rbac/role_manager_test.go
@@ -1,6 +1,7 @@
package rbac
import (
+ "github.com/hsluoyz/casbin/util"
"log"
"testing"
)
@@ -14,8 +15,13 @@ func testRole(t *testing.T, rm *RoleManage... | Check the result of getting roles testing. | casbin_casbin | train |
45ff457bee07b8b467af725557255ab19c4bc527 | diff --git a/bin/flash.rb b/bin/flash.rb
index <HASH>..<HASH> 100755
--- a/bin/flash.rb
+++ b/bin/flash.rb
@@ -16,6 +16,7 @@ options = OpenStruct.new
options.light_id = 1
options.delay = 1
options.repeat = 1
+options.crazy = false
options.color = colors["red"]
options.app_name = "lightsapp"
options.api... | Adding crazymode (blink during an alert). | dmerrick_lights_app | train |
4db09f364a429b5f74a31b96e24c194992d22185 | diff --git a/lib/git_diff/hunk.rb b/lib/git_diff/hunk.rb
index <HASH>..<HASH> 100644
--- a/lib/git_diff/hunk.rb
+++ b/lib/git_diff/hunk.rb
@@ -13,5 +13,13 @@ module GitDiff
@header = range_info[3].strip
@lines = []
end
+
+ def additions
+ select(&:addition?)
+ end
+
+ def deletions
+ ... | Push additions/deletions into hunk. | anolson_git_diff | train |
10c79550c2e8bf8deb9d84a16dc124268ed9bea2 | diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/javadoc/InvalidLink.java b/core/src/main/java/com/google/errorprone/bugpatterns/javadoc/InvalidLink.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/javadoc/InvalidLink.java
+++ b/core/src/main/java/com/google/e... | Fix an NPE in InvalidLink
Discovered while validating <I> release (#<I>)
-------------
Created by MOE: <URL> | google_error-prone | train |
2d8212b30a4061b9849fbbadbce26ead248336ff | diff --git a/src/sap.ui.core/src/sap/ui/core/delegate/ItemNavigation.js b/src/sap.ui.core/src/sap/ui/core/delegate/ItemNavigation.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.core/src/sap/ui/core/delegate/ItemNavigation.js
+++ b/src/sap.ui.core/src/sap/ui/core/delegate/ItemNavigation.js
@@ -577,6 +577,12 @@ sap.ui.d... | [FIX] sap.ui.core.delegate.ItemNavigation: no items
if there are no Items in the ItemNavigation the tabIndex 0 must not be
removed from the root DOM-Ref
Change-Id: I2f<I>c1e<I>f<I>dd<I>d<I>a1aa<I>b<I>
BCP: <I> | SAP_openui5 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.