hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
f60013c7c16741b2d969c7dcd274191574600398 | diff --git a/src/commands/test/run.js b/src/commands/test/run.js
index <HASH>..<HASH> 100644
--- a/src/commands/test/run.js
+++ b/src/commands/test/run.js
@@ -6,10 +6,6 @@ var browserTestsRunner = require('./util/browser-tests-runner');
var path = require('path');
module.exports = function run(options, devTools) {
... | load --load option within the mocha subprocess, this needs to be made to work for the browser as well | marko-js_cli | train |
de637b8cfb1023d5f3b7d5ccf8c27812744c31d8 | diff --git a/src/package/dependencies.js b/src/package/dependencies.js
index <HASH>..<HASH> 100644
--- a/src/package/dependencies.js
+++ b/src/package/dependencies.js
@@ -3,7 +3,7 @@ import {info} from '@travi/cli-messages';
import install from './install';
export default async function ({contributors}) {
- info('... | feat(execa): migrated the dependency installation to use execa
for #<I> | travi_javascript-scaffolder | train |
05f4fad6690ddb904271123eb9629f5e8b3b0c93 | diff --git a/tests/Statistics/EffectSizeTest.php b/tests/Statistics/EffectSizeTest.php
index <HASH>..<HASH> 100644
--- a/tests/Statistics/EffectSizeTest.php
+++ b/tests/Statistics/EffectSizeTest.php
@@ -10,7 +10,7 @@ class EffectSizeTest extends \PHPUnit_Framework_TestCase
{
$η² = EffectSize::etaSquared($... | Add unit tests for partial eta-squared effect size. | markrogoyski_math-php | train |
20c401dfb925c5b9c95510587dcbf27e561e3a07 | diff --git a/afns/apps/markdown/templatetags/markdown.py b/afns/apps/markdown/templatetags/markdown.py
index <HASH>..<HASH> 100644
--- a/afns/apps/markdown/templatetags/markdown.py
+++ b/afns/apps/markdown/templatetags/markdown.py
@@ -1,5 +1,3 @@
-import markdown
-
from django import template
from django.conf import ... | I trust that I'll have the right markdown lib installed | theonion_django-bulbs | train |
623226bb1d75c83cebfa61cc3c8f652c7449bfd4 | diff --git a/build.js b/build.js
index <HASH>..<HASH> 100644
--- a/build.js
+++ b/build.js
@@ -167,7 +167,7 @@ const runBuildTest_e2e = async (template = "treemap") => {
await bundle.write(outputOptions);
};
-const runBuildTest_gh59 = async () => {
+const runBuildTest_gh59 = async (template) => {
const input =... | More accurate fix for #<I> | btd_rollup-plugin-visualizer | train |
d87b5b7f19f774523c9048f07a255fbc9569ccba | diff --git a/core/src/main/java/org/infinispan/distribution/ch/AbstractConsistentHash.java b/core/src/main/java/org/infinispan/distribution/ch/AbstractConsistentHash.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/infinispan/distribution/ch/AbstractConsistentHash.java
+++ b/core/src/main/java/org/infinisp... | ISPN-<I> Improve performance of DefaultConsistentHash.locateInternal | infinispan_infinispan | train |
e7a3142f1ab636caca7fd82c2785a79cda6a075e | diff --git a/salt/fileserver/gitfs.py b/salt/fileserver/gitfs.py
index <HASH>..<HASH> 100644
--- a/salt/fileserver/gitfs.py
+++ b/salt/fileserver/gitfs.py
@@ -137,16 +137,21 @@ def _verify_gitpython(quiet=False):
'''
Check if GitPython is available and at a compatible version (>= 0.3.0)
'''
- if not H... | Fix spurious error in master log
When only GitPython is installed, and no gitfs_provider is set, an error
about pygit2 not being available is logged. This should not happen, as
gitfs should just select the first available out of pygit2, gitpython,
and dulwich.
This fixes #<I> by suppressing the error. | saltstack_salt | train |
30d1824b14a5006834ff35a28c16741626614df9 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -309,6 +309,18 @@ function describeTestsWithOptions(options, postText) {
assert.equal(md.render(replaceDelimiters(src, options)), replaceDelimiters(expected, options));
});
+ it(replaceDelimiters('should not apply... | add tests for correct handling of trailing non-text 'attr-like' strings within items | arve0_markdown-it-attrs | train |
54c9230b5a21ced92946192e90234fbbd3288613 | diff --git a/mock.py b/mock.py
index <HASH>..<HASH> 100644
--- a/mock.py
+++ b/mock.py
@@ -36,6 +36,11 @@ except ImportError:
inPy3k = sys.version_info[0] == 3
+if inPy3k:
+ class_types = (type,)
+else:
+ class_types = (type, types.ClassType)
+
# getsignature and mocksignature heavily "inspired" ... | Minor change to class decorator code. | testing-cabal_mock | train |
5ad726e607d04f249e724a93361fd8c1d703e005 | diff --git a/examples/1_basic/counter.js b/examples/1_basic/counter.js
index <HASH>..<HASH> 100644
--- a/examples/1_basic/counter.js
+++ b/examples/1_basic/counter.js
@@ -1,6 +1,5 @@
import React from 'react'
-import {on, TanokDispatcher} from '../../lib/tanok.js';
-import tanokComponent from '../../lib/component.js';... | Export tanokComponent by name, not as default | brabadu_tanok | train |
5bf8e70f26309b0a5ceda49ce0a7e97e89eee764 | diff --git a/jwt/__init__.py b/jwt/__init__.py
index <HASH>..<HASH> 100644
--- a/jwt/__init__.py
+++ b/jwt/__init__.py
@@ -23,7 +23,7 @@ from .exceptions import (
)
from .jwks_client import PyJWKClient
-__version__ = "2.0.0a1"
+__version__ = "2.0.0a2"
__title__ = "PyJWT"
__description__ = "JSON Web Token implem... | Bump up version to <I>a2 | jpadilla_pyjwt | train |
70d4b5c8d52d9a5615e5d0f5c7f147e15573c566 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,7 @@ setup(
platforms=['OS Independent'],
keywords='django, app, reusable, review, rating, voting',
author='Daniel Kaufhold',
- author_email='daniel.kaufhold.com',
+ author_email='daniel.kaufhold... | Fixes author email in setup.py | bitlabstudio_django-review | train |
6d574be07a26120ef38b45d027c138eb1f108205 | diff --git a/platform/core/registry.js b/platform/core/registry.js
index <HASH>..<HASH> 100644
--- a/platform/core/registry.js
+++ b/platform/core/registry.js
@@ -147,12 +147,13 @@ class Registry extends Subscribable {
get registrants() {
let all = Object.assign({}, this._paths);
+
for (let alias of ... | Fixed an issue where aliases were wrongfully generated as part of the registrants | CONNECT-platform_connect-platform | train |
3cfbe6aff8a90420249d00f634af2d6ef66cb86d | diff --git a/test/e2e/federation-deployment.go b/test/e2e/federation-deployment.go
index <HASH>..<HASH> 100644
--- a/test/e2e/federation-deployment.go
+++ b/test/e2e/federation-deployment.go
@@ -179,7 +179,7 @@ func verifyCascadingDeletionForDeployment(clientset *fedclientset.Clientset, clu
_, err := clusterClientse... | Fixing a typo in deployment e2e | kubernetes_kubernetes | train |
98db201174773c8af61458f225299db07f8551e1 | diff --git a/versions_tests/tests/test_models.py b/versions_tests/tests/test_models.py
index <HASH>..<HASH> 100644
--- a/versions_tests/tests/test_models.py
+++ b/versions_tests/tests/test_models.py
@@ -19,6 +19,7 @@ from unittest import skip, skipUnless
import re
import uuid
+from django import get_version
from d... | ref: #<I> only execute post-migration dependent assert for postgresql and django <I>+ | swisscom_cleanerversion | train |
cfe7f0da2d1f203ae855f375a8b6a4ed5a210d18 | diff --git a/src/de/unihd/dbs/uima/annotator/intervaltagger/IntervalTagger.java b/src/de/unihd/dbs/uima/annotator/intervaltagger/IntervalTagger.java
index <HASH>..<HASH> 100644
--- a/src/de/unihd/dbs/uima/annotator/intervaltagger/IntervalTagger.java
+++ b/src/de/unihd/dbs/uima/annotator/intervaltagger/IntervalTagger.ja... | Bug fixes in the interval tagger (decades and centuries; latest begin
and earliest end were swapped) | HeidelTime_heideltime | train |
c787650ec2853aa86c88aafd6e2dc131808b7819 | diff --git a/examples/simple.js b/examples/simple.js
index <HASH>..<HASH> 100644
--- a/examples/simple.js
+++ b/examples/simple.js
@@ -33,14 +33,14 @@ function e2() {
}
function e3() {
- throw new UnexpectedAPIResponse('/api/test');
+ throw (new UnexpectedAPIResponse('/api/test')).addSeverity(bugsy.SYSLOG_NOTICE)... | Add ability to attach metadata to an error | njakob_bugsy | train |
636539eb9452c415bbd53094186ee45d56473422 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ author = 'Jose Padilla'
author_email = 'jpadilla@getblimp.com'
license = 'MIT'
install_requires = [
- 'PyJWT>=1.5.1,<2.0.0',
+ 'PyJWT>=1.5.2,<2.0.0',
] | Bump up PyJWT to <I> | GetBlimp_django-rest-framework-jwt | train |
603027b0572d2b8199133eb03eb19e25e715fd49 | diff --git a/tests/test_orbit.py b/tests/test_orbit.py
index <HASH>..<HASH> 100644
--- a/tests/test_orbit.py
+++ b/tests/test_orbit.py
@@ -1708,7 +1708,7 @@ def test_fixedstepsize():
# Somewhat long time
times= numpy.linspace(0.,100.,30001)
# Test the following multiples
- mults= [10.]
+ mults= [1.... | Fix stepsize test for orbit integration (which didn't work at all before) | jobovy_galpy | train |
bebc6f5e379b2d655b4e834f6566af22bf23fb2c | diff --git a/src/org/opencms/search/galleries/CmsGallerySearchResult.java b/src/org/opencms/search/galleries/CmsGallerySearchResult.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/search/galleries/CmsGallerySearchResult.java
+++ b/src/org/opencms/search/galleries/CmsGallerySearchResult.java
@@ -195,7 +195,7 @@ p... | Fix CmsGallerySearch: Use only title/description directly at the
resource, not searched ones. | alkacon_opencms-core | train |
19b14172cd2712302d6969f9f4302656cad3f65e | diff --git a/src/com/google/javascript/jscomp/TypeCheck.java b/src/com/google/javascript/jscomp/TypeCheck.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/TypeCheck.java
+++ b/src/com/google/javascript/jscomp/TypeCheck.java
@@ -881,6 +881,30 @@ public final class TypeCheck implements NodeTraversa... | Warn for type mismatches on a for-of loop variable during native ES6 typechecking
This check depends on TypeInference not rewriting the type of a for-of loop variable in the loop initialization clause, so that we have the variable's initially declared type if it was declared.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
47233c33251fd8f1536465beb358d6af01914299 | diff --git a/googleanalytics/query.py b/googleanalytics/query.py
index <HASH>..<HASH> 100644
--- a/googleanalytics/query.py
+++ b/googleanalytics/query.py
@@ -1,5 +1,6 @@
from copy import deepcopy
import collections
+import time
import addressable
import inspector
import utils
@@ -113,6 +114,15 @@ class Query(obje... | Add query lock, don't execute more than one query per second. | debrouwere_google-analytics | train |
f7127e55225840681224dc55eecb144d12369352 | diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java
index <HASH>..<HASH> 100644
--- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/... | Ensure that closing a JarFile closes all underlying resources
Closes gh-<I> | spring-projects_spring-boot | train |
646343aaabc94398f4ddf224e8a1c1e0e14d4ee6 | diff --git a/osmnx/__init__.py b/osmnx/__init__.py
index <HASH>..<HASH> 100644
--- a/osmnx/__init__.py
+++ b/osmnx/__init__.py
@@ -7,6 +7,7 @@
################################################################################
from .buildings import *
+from .pois import *
from .elevation import *
from .core import *... | Added poi-functions to init. | gboeing_osmnx | train |
b5f141d47ff78e787632ddcfbfe51a86c07e614b | diff --git a/src/lib/peer.js b/src/lib/peer.js
index <HASH>..<HASH> 100644
--- a/src/lib/peer.js
+++ b/src/lib/peer.js
@@ -20,12 +20,13 @@ export default class Peer {
/**
* @protected
* @param {Object} channel - Communication channel
- * @param {Object} api - Usage API
+ * @param {Object} apiQu... | Updating the skeleton peer | AncientSouls_Peer | train |
e987b08c78afd9b7d5232b23fc38f44b99cc2056 | diff --git a/unconvert_test.go b/unconvert_test.go
index <HASH>..<HASH> 100644
--- a/unconvert_test.go
+++ b/unconvert_test.go
@@ -39,11 +39,11 @@ func TestBinary(t *testing.T) {
SortAnnotations(expected)
need := map[Annotation]struct{}{}
- for _, annotation := range got {
+ for _, annotation := range expected {
... | unconvert: fix TestBinary diagnostics
As pointed out by @egonelbre. | mdempsky_unconvert | train |
1204fb6987610838c97cbad84c8c843a7f950978 | diff --git a/src/ItemManager.js b/src/ItemManager.js
index <HASH>..<HASH> 100644
--- a/src/ItemManager.js
+++ b/src/ItemManager.js
@@ -1,5 +1,4 @@
import {MULTI, GROUPKEY_ATT, IGNORE_CLASSNAME} from "./consts";
-import DOMRenderer from "./DOMRenderer";
import {$, toArray} from "./utils";
export default class ItemM... | fix(ItemManager): disconnect link with renderer | naver_egjs-infinitegrid | train |
cbd4d3e5d306a5ffe4ba48318305602ab9ff9d77 | diff --git a/dateparser/conf.py b/dateparser/conf.py
index <HASH>..<HASH> 100644
--- a/dateparser/conf.py
+++ b/dateparser/conf.py
@@ -56,14 +56,17 @@ settings = Settings()
def apply_settings(f):
@wraps(f)
def wrapper(*args, **kwargs):
- if 'settings' in kwargs:
- if isinstance(kwargs['sett... | Re-wrote conditions for apply_settings | scrapinghub_dateparser | train |
ffcea153bf5a0adcbc4edb300fb93d857f5c9113 | diff --git a/mpop/instruments/visir.py b/mpop/instruments/visir.py
index <HASH>..<HASH> 100644
--- a/mpop/instruments/visir.py
+++ b/mpop/instruments/visir.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (c) 2010, 2011.
+# Copyright (c) 2010, 2011, 2012.
# Author(s):
@@ -31,6 +31,5... | Feature: new function to create an image from a scene. | pytroll_satpy | train |
97118af4cb2131896bd854c18e6d2a3f60d94c22 | diff --git a/app/models/asset.rb b/app/models/asset.rb
index <HASH>..<HASH> 100644
--- a/app/models/asset.rb
+++ b/app/models/asset.rb
@@ -4,6 +4,20 @@ class Asset < ActiveRecord::Base
has_attached_file :attachment, :styles => { :medium => "300x300>", :thumb => "100x100>" }
validates_attachment :attachment, :pr... | Add MIME type validation as defined in Upload Asset story acceptance criteria | cortex-cms_cortex | train |
605d358c3525c7e9a5b029835bd52ef974987962 | diff --git a/mod/folder/lib.php b/mod/folder/lib.php
index <HASH>..<HASH> 100644
--- a/mod/folder/lib.php
+++ b/mod/folder/lib.php
@@ -244,6 +244,9 @@ function folder_get_file_info($browser, $areas, $course, $cm, $context, $fileare
if ($filearea === 'content') {
+ if (!has_capability('mod/folder:view', ... | MDL-<I> fixed file_browser access control | moodle_moodle | train |
ed76174af13fc73c1d2df8dc1b0130268cf0027c | diff --git a/lib/resqorn/listener.rb b/lib/resqorn/listener.rb
index <HASH>..<HASH> 100644
--- a/lib/resqorn/listener.rb
+++ b/lib/resqorn/listener.rb
@@ -22,12 +22,13 @@ module Resqorn
@config ||= Config.load_file(@config_path)
end
- SIGNALS = [ :QUIT, :CHLD ]
+ SIGNALS = [ :QUIT ]
SIGNAL_QU... | Start a resque worker. | spraints_resqued | train |
159f9785406d9ac081f379602657c2de6b15d582 | diff --git a/lib/fsr/listener/outbound.rb b/lib/fsr/listener/outbound.rb
index <HASH>..<HASH> 100644
--- a/lib/fsr/listener/outbound.rb
+++ b/lib/fsr/listener/outbound.rb
@@ -53,6 +53,11 @@ module FSR
send_data("api uuid_dump #{@session.headers[:unique_id]}\n\n")
end
+ def next_step
+ @ste... | added #next_step to manually increment state machine | vangberg_librevox | train |
107033d5d79b40897df73f3d4d5063053b93035c | diff --git a/api/datastore/bolt/bolt.go b/api/datastore/bolt/bolt.go
index <HASH>..<HASH> 100644
--- a/api/datastore/bolt/bolt.go
+++ b/api/datastore/bolt/bolt.go
@@ -518,7 +518,7 @@ func (ds *BoltDatastore) Get(ctx context.Context, key []byte) ([]byte, error) {
}
func applyAppFilter(app *models.App, filter *models... | Fix: handle nil filters (#<I>)
fix bug when filter is nil | iron-io_functions | train |
5009f84c8d05e3a5e2f3ce6e87638fcfe3ab9501 | diff --git a/lib/celluloid/io/tcp_socket.rb b/lib/celluloid/io/tcp_socket.rb
index <HASH>..<HASH> 100644
--- a/lib/celluloid/io/tcp_socket.rb
+++ b/lib/celluloid/io/tcp_socket.rb
@@ -14,16 +14,13 @@ module Celluloid
# automatically when done (if a block is given)
def self.open(*args, &block)
sock... | Tighten up Celluloid::IO::TCPSocket.open | celluloid_celluloid-io | train |
c01e1b9b3de51a6b88b35647ce2cb7b4543f84d1 | diff --git a/src/Flare/Flare.php b/src/Flare/Flare.php
index <HASH>..<HASH> 100644
--- a/src/Flare/Flare.php
+++ b/src/Flare/Flare.php
@@ -11,7 +11,7 @@ class Flare
*
* @var string
*/
- const VERSION = '0.2.x-dev';
+ const VERSION = '0.3.x-dev';
/**
* Array of expected configuration... | Add version to <I> dev master | laravelflare_flare | train |
2b3becf66691de2f9f3bc1cb7557223f7bf2d37b | diff --git a/web/src/main/java/org/springframework/security/web/util/matcher/RequestHeaderRequestMatcher.java b/web/src/main/java/org/springframework/security/web/util/matcher/RequestHeaderRequestMatcher.java
index <HASH>..<HASH> 100644
--- a/web/src/main/java/org/springframework/security/web/util/matcher/RequestHeader... | SEC-<I>: RequestHeaderRequestMatcher constructor argument name has typo | spring-projects_spring-security | train |
180fb7d566f9e3b5a5b03a09feadf72b1c9cf9e1 | diff --git a/src/Models/Attribute.php b/src/Models/Attribute.php
index <HASH>..<HASH> 100644
--- a/src/Models/Attribute.php
+++ b/src/Models/Attribute.php
@@ -154,13 +154,11 @@ class Attribute extends Model implements AttributeContract, Sortable
parent::boot();
// Auto generate slugs early before va... | Assure unique slugs generated at all times | rinvex_laravel-attributes | train |
5e3cb29f29bf3d00ecf239928f33767db0e410a3 | diff --git a/src/main/java/com/github/noraui/browser/DriverFactory.java b/src/main/java/com/github/noraui/browser/DriverFactory.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/noraui/browser/DriverFactory.java
+++ b/src/main/java/com/github/noraui/browser/DriverFactory.java
@@ -11,6 +11,7 @@ import org.... | add a tmp stub for chromeOptions | NoraUi_NoraUi | train |
343d194f599e01f6054cc7325de1002e05926c8f | diff --git a/src/Access/NoAuthAccess.php b/src/Access/NoAuthAccess.php
index <HASH>..<HASH> 100644
--- a/src/Access/NoAuthAccess.php
+++ b/src/Access/NoAuthAccess.php
@@ -42,8 +42,15 @@ class NoAuthAccess extends BaseAccessClass
*/
public function hasAccess($url, $user)
{
- if (!empty($url['actio... | Added possibility to get list of access check skipped actions by passed controller - task #<I> | QoboLtd_cakephp-roles-capabilities | train |
ee0330a17b8d2deecbc700444e3c6268ccaf7ab2 | diff --git a/src/Malenki/Math/Stats/NonParametricTest/WilcoxonSignedRank.php b/src/Malenki/Math/Stats/NonParametricTest/WilcoxonSignedRank.php
index <HASH>..<HASH> 100644
--- a/src/Malenki/Math/Stats/NonParametricTest/WilcoxonSignedRank.php
+++ b/src/Malenki/Math/Stats/NonParametricTest/WilcoxonSignedRank.php
@@ -34,6 ... | WSRT: Compute sigma | malenkiki_math | train |
856607646963772102fe0a5f8ea4a209fa5a8815 | diff --git a/public/src/Conn/Read.php b/public/src/Conn/Read.php
index <HASH>..<HASH> 100644
--- a/public/src/Conn/Read.php
+++ b/public/src/Conn/Read.php
@@ -68,10 +68,12 @@ class Read extends Conn
*/
public function exeRead($tabela, $termos = null, $parseString = null, $ignoreSystem = null)
{
- ... | fix ignore system and ownerpub only on WHERE clause declared | edineibauer_uebConn | train |
c261f66b2bcee87755e16e5fe1906c5156025e49 | diff --git a/vault/barrier.go b/vault/barrier.go
index <HASH>..<HASH> 100644
--- a/vault/barrier.go
+++ b/vault/barrier.go
@@ -77,6 +77,11 @@ type SecurityBarrier interface {
// VerifyMaster is used to check if the given key matches the master key
VerifyMaster(key []byte) error
+ // ReloadKeyring is used to re-re... | vault: support keyring reload | hashicorp_vault | train |
59446cf7469e4eac65dea86ed298a4fe7bf5de99 | diff --git a/ovirtlago/__init__.py b/ovirtlago/__init__.py
index <HASH>..<HASH> 100644
--- a/ovirtlago/__init__.py
+++ b/ovirtlago/__init__.py
@@ -30,15 +30,11 @@ import nose.config
from ovirtsdk.infrastructure.errors import (RequestError, ConnectionError)
import lago
from lago import log_utils
-from lago.utils impo... | Using main lago run_command
As the one from ovirtlago was removed
Fixes #<I>
Change-Id: Ic1e<I>b0b<I>bf<I>d<I>e<I>ea1b<I>b2ff<I>dfe | lago-project_lago | train |
4549cc0033587998ee37503910542460e326d5e1 | diff --git a/seamless-immutable.js b/seamless-immutable.js
index <HASH>..<HASH> 100644
--- a/seamless-immutable.js
+++ b/seamless-immutable.js
@@ -304,6 +304,7 @@
Object.freeze(Immutable);
+ /* istanbul ignore if */
if (typeof module === "object") {
module.exports = Immutable;
} else if (typeof expor... | Don't run code coverage on the module exports section. | rtfeldman_seamless-immutable | train |
10c9de55ed335ddd24232b3a7fed05c739bda34b | diff --git a/astroplan/core.py b/astroplan/core.py
index <HASH>..<HASH> 100644
--- a/astroplan/core.py
+++ b/astroplan/core.py
@@ -1137,6 +1137,7 @@ class Observer(object):
obs.lat = self.location.latitude.to(u.degree).to_string(sep=':')
obs.lon = self.location.longitude.to(u.degree).to_string(sep=':'... | Keeping moon_altaz out of tests for now | astropy_astroplan | train |
4325d5c1f8a5e358187ef9ab1dec3e460f60e818 | diff --git a/lib/demo/commands/bugs.js b/lib/demo/commands/bugs.js
index <HASH>..<HASH> 100644
--- a/lib/demo/commands/bugs.js
+++ b/lib/demo/commands/bugs.js
@@ -193,6 +193,9 @@ function liFromBug(doc, bug, predictions) {
if (done) {
li.setAttribute('style', 'text-decoration: line-through; color: grey;');
}... | Bug <I> (part): Tweak bugz command to highlight work in progress | joewalker_gcli | train |
a1ba27da099b31d64511be12dc81fcebf500449a | diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py
index <HASH>..<HASH> 100755
--- a/coursera/coursera_dl.py
+++ b/coursera/coursera_dl.py
@@ -261,7 +261,7 @@ def get_anchor_format(a):
return (fmt.group(1) if fmt else None)
-def parse_syllabus(page, cookies_file):
+def parse_syllabus(page, cookies_... | Added -r,--reverse parameter to download courses in reverse order.
Adding this option prevents re-downloading all courses if the course list is in reverse order (last week first). | coursera-dl_coursera-dl | train |
44cee94f62bb64ec194b48a8fb6cd1bd67a1d7c2 | diff --git a/tests/Text/EllipsisHelperTest.php b/tests/Text/EllipsisHelperTest.php
index <HASH>..<HASH> 100644
--- a/tests/Text/EllipsisHelperTest.php
+++ b/tests/Text/EllipsisHelperTest.php
@@ -1,8 +1,11 @@
<?php
/*
+ * This file is part of Handlebars.php Helpers Set
*
- * (c) Matteo Merola <mattmezza@gmail.com>
+... | Fix license header in a Test file | JustBlackBird_handlebars.php-helpers | train |
20528f5fab2cdf286a4ae50a5652b7d80c69bb70 | diff --git a/organizations/mixins.py b/organizations/mixins.py
index <HASH>..<HASH> 100644
--- a/organizations/mixins.py
+++ b/organizations/mixins.py
@@ -52,7 +52,7 @@ class MembershipRequiredMixin(object):
self.request = request
self.args = args
self.kwargs = kwargs
- self.organizati... | Fix error due to change in get_object definition | bennylope_django-organizations | train |
8ce4cf3ecbad58be4d376c6e4bb8905a622761f1 | diff --git a/http/src/http-driver.js b/http/src/http-driver.js
index <HASH>..<HASH> 100644
--- a/http/src/http-driver.js
+++ b/http/src/http-driver.js
@@ -102,10 +102,13 @@ function normalizeRequestOptions(reqOptions) {
}
function isolateSource(response$$, scope) {
- return response$$.filter(res$ =>
+ let isolate... | Fix isolateSource to allow nested scoping | cyclejs_cyclejs | train |
76261319e18c7a94c1241878031067753545e745 | diff --git a/backprop/main.py b/backprop/main.py
index <HASH>..<HASH> 100644
--- a/backprop/main.py
+++ b/backprop/main.py
@@ -5,8 +5,8 @@ import numpy as np
class Instance:
def __init__(self, features, target):
- self.features = np.matrix(features)
- self.target = target
+ self.features = ... | Minor: updated to support the changes in the net | jorgenkg_python-neural-network | train |
0f0bf191791aa880329243d84270c87f261ca50a | diff --git a/jplephem/daf.py b/jplephem/daf.py
index <HASH>..<HASH> 100644
--- a/jplephem/daf.py
+++ b/jplephem/daf.py
@@ -26,7 +26,7 @@ class DAF(object):
self.locidw = file_record[:8].upper().rstrip()
if not self.locidw.startswith(b'DAF/'):
- raise ValueError('file starts with {0!r}, no... | Fix typo pointed out in #<I> | brandon-rhodes_python-jplephem | train |
e4dc7c267abe40abe3686a842a68bba6a792cfc0 | diff --git a/plivo/resources/multipartycall.py b/plivo/resources/multipartycall.py
index <HASH>..<HASH> 100644
--- a/plivo/resources/multipartycall.py
+++ b/plivo/resources/multipartycall.py
@@ -228,8 +228,8 @@ class MultiPartyCalls(PlivoResourceInterface):
of_type_exact(str),
one_of(is_url(),... | Removed range validation for ringtimeout and delaydial | plivo_plivo-python | train |
4b8fa58206f0c9a39f695df896eb7098b0e29a56 | diff --git a/phy/cluster/manual/gui_plugins.py b/phy/cluster/manual/gui_plugins.py
index <HASH>..<HASH> 100644
--- a/phy/cluster/manual/gui_plugins.py
+++ b/phy/cluster/manual/gui_plugins.py
@@ -129,32 +129,13 @@ class ManualClustering(IPlugin):
def select(self, cluster_ids):
self.wizard.selection = clust... | WIP: test wizard actions in manual clustering plugin | kwikteam_phy | train |
423b667edfd1de4144392d092e443c7110831283 | diff --git a/python/orca/src/bigdl/orca/data/shard.py b/python/orca/src/bigdl/orca/data/shard.py
index <HASH>..<HASH> 100644
--- a/python/orca/src/bigdl/orca/data/shard.py
+++ b/python/orca/src/bigdl/orca/data/shard.py
@@ -213,16 +213,16 @@ class SparkXShards(XShards):
return self.rdd.map(lambda data: len(... | Orca len on spark change check to task (#<I>)
* add length operation
* update len
* fix style
* change check to each shard | intel-analytics_BigDL | train |
1aad8ad7bce4358889e7c809e58fe5e1712d18f1 | diff --git a/lib/constants.rb b/lib/constants.rb
index <HASH>..<HASH> 100644
--- a/lib/constants.rb
+++ b/lib/constants.rb
@@ -1,6 +1,6 @@
module Normalic
- module Address
+ class Address
Directional = {
"north" => "n",
diff --git a/lib/normalic.rb b/lib/normalic.rb
index <HASH>..<HASH> 100644
--- a/lib/... | objectify the hash returned in 'parse' | ericxtang_normalic | train |
f1b6ce824d6f7704bdc6199718671ed04b20d73a | diff --git a/mod/data/tabs.php b/mod/data/tabs.php
index <HASH>..<HASH> 100755
--- a/mod/data/tabs.php
+++ b/mod/data/tabs.php
@@ -32,13 +32,13 @@
$inactive = NULL;
$row = array();
- $row[] = new tabobject('browse', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id, get_string('browse','data'));
+ $... | Made some of the tabs linked even if selected in the different views. | moodle_moodle | train |
f96be45fa06ed20582baccc3314d030c982393fb | diff --git a/src/editor/EditorCommandHandlers.js b/src/editor/EditorCommandHandlers.js
index <HASH>..<HASH> 100644
--- a/src/editor/EditorCommandHandlers.js
+++ b/src/editor/EditorCommandHandlers.js
@@ -629,7 +629,9 @@ define(function (require, exports, module) {
hasSelection = (sel.start.line !== sel.end.... | Adding special cases when moving lines up or down at the last lines of an inline editor | adobe_brackets | train |
cf7692cbf1665daea28fbb11bc5a04e628b633ae | diff --git a/alot/message.py b/alot/message.py
index <HASH>..<HASH> 100644
--- a/alot/message.py
+++ b/alot/message.py
@@ -116,6 +116,10 @@ class Message(object):
self._thread = self._dbman.get_thread(self._thread_id)
return self._thread
+ def has_replies(self):
+ """returns true if th... | Add Message::has_replies()
This method enables a callee to ask a Message object whether there are any
replies to it. Use it to decide what spacer to use for aligning unfolded message
parts to its summary line (cf issue #<I>). | pazz_alot | train |
284d862a220e697a8473ac627d5f20cf3beffe9b | diff --git a/src/utils/constants.js b/src/utils/constants.js
index <HASH>..<HASH> 100644
--- a/src/utils/constants.js
+++ b/src/utils/constants.js
@@ -112,7 +112,6 @@ export const validProps = [
'enablePredictiveSuggestions',
'applyStopwords',
'customStopwords',
- 'onData',
];
export const CLEAR_ALL = { | fix: remove onData to be stored in redux store | appbaseio_reactivecore | train |
fd482657f2b14c42badf26e73bd5c125855523fb | diff --git a/jmccc-mcdownloader/src/main/java/org/to2mbn/jmccc/mcdownloader/provider/liteloader/LiteloaderDownloadProvider.java b/jmccc-mcdownloader/src/main/java/org/to2mbn/jmccc/mcdownloader/provider/liteloader/LiteloaderDownloadProvider.java
index <HASH>..<HASH> 100644
--- a/jmccc-mcdownloader/src/main/java/org/to2m... | Fix cannot download forge+liteloader snapshot | to2mbn_JMCCC | train |
8d2b5bbf631b4746f97245c18f4ac165290c7c8d | diff --git a/ggplot/geoms/geom_point.py b/ggplot/geoms/geom_point.py
index <HASH>..<HASH> 100644
--- a/ggplot/geoms/geom_point.py
+++ b/ggplot/geoms/geom_point.py
@@ -78,7 +78,7 @@ class geom_point(geom):
[0.5*da.height],
alpha=data['alpha'],
... | Fix legend entry sizes when using stroke aesthetic | has2k1_plotnine | train |
35edca3e422554444b6ec34a010bc1c9326a7745 | diff --git a/pkg/apis/kops/networking.go b/pkg/apis/kops/networking.go
index <HASH>..<HASH> 100644
--- a/pkg/apis/kops/networking.go
+++ b/pkg/apis/kops/networking.go
@@ -73,6 +73,8 @@ type CalicoNetworkingSpec struct {
CrossSubnet bool `json:"crossSubnet,omitempty"` // Enables Calico's cross-subnet mode when set to ... | Add fields in CalicoNetworkingSpec in alphabetical order. | kubernetes_kops | train |
0900402eb48267a1e0d3b00130d505fc2063bde1 | diff --git a/src/lib/angular-iscroll.js b/src/lib/angular-iscroll.js
index <HASH>..<HASH> 100644
--- a/src/lib/angular-iscroll.js
+++ b/src/lib/angular-iscroll.js
@@ -141,6 +141,7 @@
// Export the auto-determined value of `useNativeScroll`.
this.useNativeScroll = useNativeScroll;
+ this.platf... | #<I>: Automatically detect the need for using iScroll.
Export the auto-detected findings, and also export the `platform` value. | mtr_angular-iscroll | train |
b5872438fdee5ddbe2d1d9c5d4ded0b1849521ea | diff --git a/src/components/user-settings-menu/user-settings-menu.js b/src/components/user-settings-menu/user-settings-menu.js
index <HASH>..<HASH> 100644
--- a/src/components/user-settings-menu/user-settings-menu.js
+++ b/src/components/user-settings-menu/user-settings-menu.js
@@ -10,9 +10,9 @@ import Text from '@comm... | fix(app-shell): relative import. Refs #<I> | commercetools_merchant-center-application-kit | train |
b7af625659195e35792edce544788d9ce8523742 | diff --git a/lib/dependencies/AMDDefineDependencyParserPlugin.js b/lib/dependencies/AMDDefineDependencyParserPlugin.js
index <HASH>..<HASH> 100644
--- a/lib/dependencies/AMDDefineDependencyParserPlugin.js
+++ b/lib/dependencies/AMDDefineDependencyParserPlugin.js
@@ -81,7 +81,7 @@ class AMDDefineDependencyParserPlugin {... | Force LocalModuleDependency arity to 3 | webpack_webpack | train |
c114dfa1bc4042327120bd263f1ca5eec0a97956 | diff --git a/pyrax/__init__.py b/pyrax/__init__.py
index <HASH>..<HASH> 100755
--- a/pyrax/__init__.py
+++ b/pyrax/__init__.py
@@ -575,7 +575,7 @@ def _get_service_endpoint(svc, region=None, public=True):
@_require_auth
-def connect_to_cloudservers(region=None):
+def connect_to_cloudservers(region=None, **kwargs):... | Provide a way to pass additional arguments onto novaclient in connect_to_cloudservers | pycontribs_pyrax | train |
b7c7b951d03180e5db3353413d5b2bfa04bc1e17 | diff --git a/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/Node/index.js b/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/Node/index.js
index <HASH>..<HASH> 100644
--- a/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/Node/index.js
+++ b/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/Node/index.... | BUGFIX: Improve performance of switching between nodes in NodeTree
without this fix, all nodes in the node tree get redrawn everytime
the user selects a different node; which leads to prohibitive performance
when switching nodes. | neos_neos-ui | train |
76fbe480179d9f06ed2c444b160f6e718533483f | diff --git a/ram-cache.js b/ram-cache.js
index <HASH>..<HASH> 100644
--- a/ram-cache.js
+++ b/ram-cache.js
@@ -6,13 +6,19 @@ var md5omatic = require('md5-o-matic');
Cache object
*/
+function find(arr, predicate) {
+ var i,
+ len = arr.length;
-function sortByLessPopular(a, b) {
- return a.times < b.times;
+ ... | replace stale objects data container with a plain array. Should deliver better performances | sithmel_memoize-cache | train |
ce0cb8c998dca1b19eed284b3c06ba23507c900d | diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.java b/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.java
index <HASH>..<HASH> 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.jav... | SONAR-<I> fix quality gate status facet of project measures index | SonarSource_sonarqube | train |
dd48cde9904c279ee9cf111f0cc55775e9ed63a2 | diff --git a/cmd/swagger/commands/generate/spec_go111.go b/cmd/swagger/commands/generate/spec_go111.go
index <HASH>..<HASH> 100644
--- a/cmd/swagger/commands/generate/spec_go111.go
+++ b/cmd/swagger/commands/generate/spec_go111.go
@@ -29,6 +29,7 @@ type SpecFile struct {
Exclude []string `long:"exclude" sho... | allow exclusion of all deps when building spec | go-swagger_go-swagger | train |
5674c2d470723e1358af966a80d55cd2223dacea | diff --git a/client/solve.go b/client/solve.go
index <HASH>..<HASH> 100644
--- a/client/solve.go
+++ b/client/solve.go
@@ -209,8 +209,10 @@ func (c *Client) solve(ctx context.Context, def *llb.Definition, runGateway runG
<-time.After(3 * time.Second)
cancelStatus()
}()
- bklog.G(ctx).Debugf("stopping se... | do not close sessions after client solve if pre-initialized
This fixes what appears to be a bug from an old refactor to allow
shared sessions:
<URL> | moby_buildkit | train |
a2de99164f75f45a3a32560b5748a7e9151192e8 | diff --git a/hibernate-ogm-core/src/main/java/org/hibernate/ogm/util/impl/PropertyMetadataProvider.java b/hibernate-ogm-core/src/main/java/org/hibernate/ogm/util/impl/PropertyMetadataProvider.java
index <HASH>..<HASH> 100644
--- a/hibernate-ogm-core/src/main/java/org/hibernate/ogm/util/impl/PropertyMetadataProvider.jav... | OGM-<I> Use the unqualified role name for collection | hibernate_hibernate-ogm | train |
513f2f861177be6153c2feacdd393e4c8ea51bf6 | diff --git a/packages/@uppy/companion/src/companion.js b/packages/@uppy/companion/src/companion.js
index <HASH>..<HASH> 100644
--- a/packages/@uppy/companion/src/companion.js
+++ b/packages/@uppy/companion/src/companion.js
@@ -19,6 +19,7 @@ const { STORAGE_PREFIX } = require('./server/Uploader')
const middlewares = re... | make s3 signed url expiry configurable in companion (#<I>)
* make s3 signed url expiry configurable in companion
* add 'expires' option to the companion docs | transloadit_uppy | train |
e87e105c6a5e2a94eb726162f30c2c80a3a4a4e0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ def read(fname):
setup(
name = "fastly-python",
- version = "0.0.1",
+ version = "0.0.2",
author = "Chris Zacharias",
author_email = "chris@imgix.com",
description = ("A Python client libary for the Fas... | Advancing the version number. | obulpathi_cdn-fastly-python | train |
cc2cb188b5e05918462de5e350ce6048e566b803 | diff --git a/src/com/google/javascript/jscomp/PolymerPass.java b/src/com/google/javascript/jscomp/PolymerPass.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/PolymerPass.java
+++ b/src/com/google/javascript/jscomp/PolymerPass.java
@@ -162,6 +162,7 @@ final class PolymerPass extends AbstractPostO... | Fix crash in PolymerPass that can occur when people pass non-externs code as externs.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
b8de9dafaedbd3513a8db3ac407201d19ca1ee0c | diff --git a/statics/js/components/inject-form.js b/statics/js/components/inject-form.js
index <HASH>..<HASH> 100644
--- a/statics/js/components/inject-form.js
+++ b/statics/js/components/inject-form.js
@@ -215,7 +215,7 @@ Vue.component('inject-form', {
},
getIP: function(node) {
- md = node.metadata;
... | pi: pick neutron IP in UI | skydive-project_skydive | train |
bfb868ff2ec16e5022b440701e73b31715c4ff8b | diff --git a/src/org/opencms/db/I_CmsUserDriver.java b/src/org/opencms/db/I_CmsUserDriver.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/db/I_CmsUserDriver.java
+++ b/src/org/opencms/db/I_CmsUserDriver.java
@@ -1,7 +1,7 @@
/*
* File : $Source: /alkacon/cvs/opencms/src/org/opencms/db/I_CmsUserDriver.java,v ... | Changed getGroupsOfUsers from name to uuid | alkacon_opencms-core | train |
9fb9bda50d0486d993020fe1465fcc9111e452d8 | diff --git a/test/test_benchmarks.py b/test/test_benchmarks.py
index <HASH>..<HASH> 100644
--- a/test/test_benchmarks.py
+++ b/test/test_benchmarks.py
@@ -146,8 +146,8 @@ def test_find_benchmarks(tmpdir):
assert times['time_examples.TimeWithRepeat.time_it']['stderr'].split() == expected
# Calibration of ite... | Fix issue in test
The number of repeats may be smaller if too_slow() condition was
encountered. | airspeed-velocity_asv | train |
683e46d86514d5f70a2461062792fa2853e245d5 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -27,7 +27,7 @@ Matcher.prototype.isCaptured = function (currentNode, parentNode) {
if (isCalleeOfParent(currentNode, parentNode)) {
return false;
}
- if (matchCallee(this.exampleAst, parentNode)) {
+ i... | fix(escallmatch): isCaptured should not be true when whole CallExpression does not match | twada_escallmatch | train |
0b7ac235630b4030ab30d6d90be95f2571763947 | diff --git a/tests/fixtures/processors/custom-processor.js b/tests/fixtures/processors/custom-processor.js
index <HASH>..<HASH> 100644
--- a/tests/fixtures/processors/custom-processor.js
+++ b/tests/fixtures/processors/custom-processor.js
@@ -2,9 +2,10 @@ module.exports = {
processors: {
".txt": {
... | Update: add tests to assert that the preprocessor is running (fixes #<I>) | eslint_eslint | train |
ed28ed467c660a36a9f6df32487086a0fd902856 | diff --git a/lib/jsduck/options.rb b/lib/jsduck/options.rb
index <HASH>..<HASH> 100644
--- a/lib/jsduck/options.rb
+++ b/lib/jsduck/options.rb
@@ -122,7 +122,7 @@ module JsDuck
opts.on('-o', '--output=PATH',
"Directory to output all this amazing documentation.",
"This option MUST be speci... | Support DOS pathnames in command line arguments.
Using File.expand_path to expand all relative path to full paths,
which also converts all DOS-style paths to UNIX style. | senchalabs_jsduck | train |
b8070a2ab71559978fc84c13ee237f8e5dfc12c2 | diff --git a/Model/Behavior/AttachmentBehavior.php b/Model/Behavior/AttachmentBehavior.php
index <HASH>..<HASH> 100644
--- a/Model/Behavior/AttachmentBehavior.php
+++ b/Model/Behavior/AttachmentBehavior.php
@@ -473,9 +473,6 @@ class AttachmentBehavior extends ModelBehavior {
));
}
- // Re... | Fix record deletion because of invalid model ID [#<I>] | milesj_uploader | train |
cd483959e01a1448b64ab6dbd531f2310ca052c5 | diff --git a/tests/Kwf/Component/Events/Table/Test.php b/tests/Kwf/Component/Events/Table/Test.php
index <HASH>..<HASH> 100644
--- a/tests/Kwf/Component/Events/Table/Test.php
+++ b/tests/Kwf/Component/Events/Table/Test.php
@@ -8,48 +8,78 @@ class Kwf_Component_Events_Table_Test extends Kwc_TestAbstract
public func... | split up test for easier debugging | koala-framework_koala-framework | train |
d6b68505c60d8bf2926304e412b9373299fb2d48 | diff --git a/PyFunceble/__init__.py b/PyFunceble/__init__.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/__init__.py
+++ b/PyFunceble/__init__.py
@@ -93,7 +93,7 @@ from PyFunceble.whois import Whois
# We set our project name.
NAME = "PyFunceble"
# We set out project version.
-VERSION = "1.51.0.dev -- 2_0_0_rc8 -- (... | Fix issue when an empty string is given | funilrys_PyFunceble | train |
ad5811b09e2b76e34432d46b1e0a022ef057359c | diff --git a/pools.go b/pools.go
index <HASH>..<HASH> 100644
--- a/pools.go
+++ b/pools.go
@@ -19,6 +19,7 @@ import (
"sync"
"unsafe"
+ "github.com/couchbase/gomemcached" // package name is 'gomemcached'
"github.com/couchbase/gomemcached/client" // package name is 'memcached'
)
@@ -343,6 +344,51 @@ fu... | Enhance Buckets with GetRandomDoc() method to get a random doc from the bucket.
Change-Id: I<I>c<I>a<I>de<I>b<I>d9e<I>bb<I>a
Reviewed-on: <URL> | couchbase_go-couchbase | train |
c4195283937265fa8a9ee5cccb4d4f356eff375b | diff --git a/src/MvcCore/Application/GettersSetters.php b/src/MvcCore/Application/GettersSetters.php
index <HASH>..<HASH> 100644
--- a/src/MvcCore/Application/GettersSetters.php
+++ b/src/MvcCore/Application/GettersSetters.php
@@ -146,6 +146,18 @@ trait GettersSetters {
/**
* @inheritDocs
+ * @var \MvcCore\Conf... | Added getter to get system config from application instance. | mvccore_mvccore | train |
756310fc65af29f510a11c49eba72373844f1be2 | diff --git a/spec/httparty/request_spec.rb b/spec/httparty/request_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/httparty/request_spec.rb
+++ b/spec/httparty/request_spec.rb
@@ -33,7 +33,12 @@ describe HTTParty::Request do
it 'should not use ssl for port 80' do
request = HTTParty::Request.new(Net::HT... | Added a test to ensure that https is use when scheme is https. | jnunemaker_httparty | train |
6060305b0f1718bf8e16515d5cb14e68e5ffb0d6 | diff --git a/src/Sentinel.php b/src/Sentinel.php
index <HASH>..<HASH> 100644
--- a/src/Sentinel.php
+++ b/src/Sentinel.php
@@ -522,6 +522,8 @@ class Sentinel
$this->persistences->{$method}($user);
+ $this->user = null;
+
return $this->users->recordLogout($user);
}
diff --git a/tests/... | set the user to null on logout | cartalyst_sentinel | train |
da583df50c32d50261b682664fe43fd5e2f58f87 | 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
@@ -364,7 +364,7 @@ module ActionDispatch
... | Remove bazillion warnings from AP suite. | rails_rails | train |
bcc6db9993591a3502e1dfdfe586066b7f13e6ba | diff --git a/src/html/DeclarativeBase.js b/src/html/DeclarativeBase.js
index <HASH>..<HASH> 100644
--- a/src/html/DeclarativeBase.js
+++ b/src/html/DeclarativeBase.js
@@ -127,7 +127,7 @@ export function initDeclarativeBase() {
// detects if anything is visible including from styling, not
... | fix: prevent from creating an implicit GL DOM Plane for DOMNodes and DOMPlanes, it was reading the wrong property name | trusktr_infamous | train |
b1666986236eab820e9155a5943d6b94938b4c40 | diff --git a/magic.py b/magic.py
index <HASH>..<HASH> 100644
--- a/magic.py
+++ b/magic.py
@@ -72,7 +72,7 @@ class Magic:
"""
with self.lock:
try:
- return magic_buffer(self.cookie, buf)
+ return maybe_decode(magic_buffer(self.cookie, buf))
excep... | Return str rather than bytes for the description strings on python3.
Assumes utf-8 encoding from magic return values, which I hope is
always the case. | ahupp_python-magic | train |
fef10aec444a5e70549ab475cc866f3a5c2a0663 | diff --git a/termbox_windows.go b/termbox_windows.go
index <HASH>..<HASH> 100644
--- a/termbox_windows.go
+++ b/termbox_windows.go
@@ -664,7 +664,6 @@ func input_event_producer() {
var r input_record
var err error
mouseRelease := false
- var prevButton dword
for {
err = read_console_input(in, &r)
if err !... | release does not really have the same button | nsf_termbox-go | train |
03f7889bb36b3c15a2643e60118bfe925ad2405f | diff --git a/src/Hooks.php b/src/Hooks.php
index <HASH>..<HASH> 100644
--- a/src/Hooks.php
+++ b/src/Hooks.php
@@ -95,23 +95,22 @@ class Hooks {
}
$name = $transaction->name;
- preg_match("/\\w+\\s*>/", str_replace(" ", "", $name), $tokens);
-
+ $tokens = explode(">", str_replace(" ", ... | Added test for wildcard multiple levels of nesting | ddelnano_dredd-hooks-php | train |
e031a5a99bdf92bdd335a1e5dcde515a635a4784 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -288,6 +288,7 @@ class CanvasApi {
fs.createReadStream(filename)
]
}
+
const url = `${this.apiUrl}/accounts/${account}/sis_imports${batchMode ? '?batch_mode=1' : ''}${batchTerm ? '&batch_mode_term_id=... | strip token from sendCsvFile errors | KTH_canvas-api | train |
534d1bdc18578b439f9a2e47b963e9bd61909848 | diff --git a/tests/client/lib/sinon.js b/tests/client/lib/sinon.js
index <HASH>..<HASH> 100644
--- a/tests/client/lib/sinon.js
+++ b/tests/client/lib/sinon.js
@@ -1348,7 +1348,7 @@ if (!this.sinon && commonJSModule) {
this.callIds = [];
if (this.fakes) {
for (var i = 0; i < th... | Replace sinon.reset() with resetHistory() (#<I>)
sinon.reset() is deprecated so after we upgraded from sinon 2.x to 4.x in #<I> we started getting deprecation warnings when running our tests:
```
sinon.reset is deprecated and will be removed from the public API in a future version of sinon.
```
This replaces t... | springernature_shunter | train |
a581115a48fec8369bd2e4751d2978bf8c404ee5 | diff --git a/tests/task.py b/tests/task.py
index <HASH>..<HASH> 100644
--- a/tests/task.py
+++ b/tests/task.py
@@ -1,8 +1,9 @@
# NOTE: named task.py, not tasks.py, to avoid some occasional pytest weirdness
+from mock import Mock
from pytest import skip # noqa
-from fabric import Task, task
+import fabric
from f... | For clarity, use module (vs member) imports.
And set up failing test around fabric.task return value | fabric_fabric | train |
0bdb356ce4642de95ef5f354c6eda85b92dc6b7a | diff --git a/nessclient/cli/events.py b/nessclient/cli/events.py
index <HASH>..<HASH> 100644
--- a/nessclient/cli/events.py
+++ b/nessclient/cli/events.py
@@ -25,10 +25,7 @@ def events(host: str, port: int):
def on_event_received(event: BaseEvent):
print(event)
- loop.run_until_complete(asyncio.gathe... | Update CLI to consume similar to home-assistant (#<I>) | nickw444_nessclient | train |
8e27d3b215b8a555e2189740f594c9a5e551c9f4 | diff --git a/satpy/readers/hrit_goes.py b/satpy/readers/hrit_goes.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/hrit_goes.py
+++ b/satpy/readers/hrit_goes.py
@@ -223,7 +223,7 @@ prologue = np.dtype([
("SubSatScan", '>u2'),
("SubSatPixel", '>u2'),
("SubSatLatitude", gvar_float),
- ("SubSatLongitude", gvar... | Fix hrit goes calibration to interpolate dask arrays | pytroll_satpy | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.