hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
28860f095ffe86a033b7c1cc6f86500e4765c43d | diff --git a/lib/searchkick/relation_indexer.rb b/lib/searchkick/relation_indexer.rb
index <HASH>..<HASH> 100644
--- a/lib/searchkick/relation_indexer.rb
+++ b/lib/searchkick/relation_indexer.rb
@@ -63,9 +63,8 @@ module Searchkick
if relation.respond_to?(:primary_key)
# use total docs instead of max id ... | Added support for non-id primary keys to resume [skip ci] | ankane_searchkick | train |
38caab951a9ff39f0e61294a1dbaaa074a39228b | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,7 @@ Bug Fixes:
- If --skipPackages is used and all packages are skipped, Ginkgo should exit 0.
- Fix tempfile leak when running in parallel
- Fix incorrect failure message when a panic occurs duri... | fix issue when nesting focused tests within pending containers | onsi_ginkgo | train |
add9e8d5bde3806a880be5864e24e19bc486d5a2 | diff --git a/src/ns.view.js b/src/ns.view.js
index <HASH>..<HASH> 100644
--- a/src/ns.view.js
+++ b/src/ns.view.js
@@ -1031,20 +1031,15 @@ var _ctors = {};
* @return {Function} Созданный View.
*/
ns.View.define = function(id, info, base) {
- if (id in _infos) {
- throw new Error("[ns.View] Can't redefine... | more ns.assert usages | yandex-ui_noscript | train |
1dfa529941643b486ceadb7f38cfd8f2b1f3d0eb | diff --git a/pkg/services/provisioning/dashboards/file_reader.go b/pkg/services/provisioning/dashboards/file_reader.go
index <HASH>..<HASH> 100644
--- a/pkg/services/provisioning/dashboards/file_reader.go
+++ b/pkg/services/provisioning/dashboards/file_reader.go
@@ -64,16 +64,24 @@ func (fr *fileReader) getCache(key st... | dashboards as cfg: avoid walking fs in parallel | grafana_grafana | train |
7d83bf85e3d7b41d8e58217028cdcfc24029b8d1 | diff --git a/indra/preassembler/__init__.py b/indra/preassembler/__init__.py
index <HASH>..<HASH> 100644
--- a/indra/preassembler/__init__.py
+++ b/indra/preassembler/__init__.py
@@ -251,7 +251,12 @@ class Preassembler(object):
a stmts_by_hash dict and a stmts_to_compare dict as its input and
... | Improve some docstrings and comments | sorgerlab_indra | train |
0be8ae9ba36ec9a7a5e84d8e267181a4f87ed375 | diff --git a/tweepy/binder.py b/tweepy/binder.py
index <HASH>..<HASH> 100644
--- a/tweepy/binder.py
+++ b/tweepy/binder.py
@@ -7,7 +7,7 @@ from __future__ import print_function
import time
import re
-from six.moves.urllib.parse import quote
+from six.moves.urllib.parse import quote, urlencode
import requests
im... | Fix cache
Fixing the cache key for both get and store methods | tweepy_tweepy | train |
d64d6dcb54d69cc5c10e022eaa0f57e7338c638e | diff --git a/platform/disk/sfdisk_partitioner.go b/platform/disk/sfdisk_partitioner.go
index <HASH>..<HASH> 100644
--- a/platform/disk/sfdisk_partitioner.go
+++ b/platform/disk/sfdisk_partitioner.go
@@ -178,6 +178,9 @@ func (p sfdiskPartitioner) getPartitions(devicePath string) (partitions []Partit
partition := Part... | Add -part1 for multipath device | cloudfoundry_bosh-agent | train |
f7e418134cd47166f2e6c7c7d9f3e9a181ed760f | diff --git a/lib/schemas/vital.js b/lib/schemas/vital.js
index <HASH>..<HASH> 100644
--- a/lib/schemas/vital.js
+++ b/lib/schemas/vital.js
@@ -27,6 +27,9 @@ module.exports = {
"value": {
"type": "number"
},
+ "text": {
+ "type": "string"
+ },
"unit": {
... | allow text values on vitals to support references | amida-tech_blue-button-model | train |
79d9327c3c9ffff343907d64a1272a91328716e4 | diff --git a/gwpy/io/ligolw.py b/gwpy/io/ligolw.py
index <HASH>..<HASH> 100644
--- a/gwpy/io/ligolw.py
+++ b/gwpy/io/ligolw.py
@@ -104,7 +104,10 @@ def table_from_file(f, tablename, columns=None, filt=None,
if filt:
if verbose:
gprint('filtering rows ...', end=' ')
- out_ = table.new_f... | io.ligolw: fix Kipp's DeprecationWarning | gwpy_gwpy | train |
3dc82705d5b01d096e5a21741a2e3c782cff620a | diff --git a/src/router/varz.go b/src/router/varz.go
index <HASH>..<HASH> 100644
--- a/src/router/varz.go
+++ b/src/router/varz.go
@@ -2,6 +2,7 @@ package router
import (
"encoding/json"
+ "fmt"
metrics "github.com/rcrowley/go-metrics"
"net/http"
"router/stats"
@@ -93,11 +94,13 @@ func (x *HttpMetric) Marsha... | Export latency metrics in seconds
Change-Id: Iaf<I>a<I>b<I>f<I>b6e9da<I>cc3fddeea0 | cloudfoundry_gorouter | train |
4bb8a37e75a206fc1290472f9055789b07143477 | diff --git a/structr-ui/src/main/resources/structr/js/schema.js b/structr-ui/src/main/resources/structr/js/schema.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/schema.js
+++ b/structr-ui/src/main/resources/structr/js/schema.js
@@ -885,7 +885,7 @@ var _Schema = {
var selectRelationship... | remove superfluous ` ` in schema relationship edit dialog. also added functionality to reset the relationship type to the initial type if none is given | structr_structr | train |
15a48f0ea75962f6e82c9032f387b8c91cdc02de | diff --git a/lib/DB/dsql.php b/lib/DB/dsql.php
index <HASH>..<HASH> 100644
--- a/lib/DB/dsql.php
+++ b/lib/DB/dsql.php
@@ -455,6 +455,7 @@ class DB_dsql extends AbstractModel implements Iterator
* $q->table(array('user','salary'));
* $q->table(array('user','salary'),'user');
* $q->table(array('u'=>... | Feature: allow DSQL->table() to set table as sub-select (dsql object)
In <I> this was implemented long time ago: <URL>) | atk4_atk4 | train |
d12d11e79790199f1df64173e804dd2e89d7e64c | diff --git a/moment-timezone.js b/moment-timezone.js
index <HASH>..<HASH> 100644
--- a/moment-timezone.js
+++ b/moment-timezone.js
@@ -330,7 +330,7 @@
// use Intl API when available and returning valid time zone
try {
var intlName = Intl.DateTimeFormat().resolvedOptions().timeZone;
- if (intlName){
+ if (... | Ensure Intl response is valid
Fixes #<I> | moment_moment-timezone | train |
9e787db1b108941edab18209a7468e6c555002ce | diff --git a/cgroups/systemd/apply_systemd.go b/cgroups/systemd/apply_systemd.go
index <HASH>..<HASH> 100644
--- a/cgroups/systemd/apply_systemd.go
+++ b/cgroups/systemd/apply_systemd.go
@@ -43,6 +43,10 @@ var subsystems = map[string]subsystem{
"freezer": &fs.FreezerGroup{},
}
+const (
+ testScopeWait = 4
+)
+
... | cgroups: systemd: attempt to stop test scope, if any
As reported in #<I> the test scope may not be cleaned up between runs.
In order to fix this we must be polite and remove the scope after we
have done our test and attempt to remove an existing scope if it exists.
This way we can guarantee our test will run. | opencontainers_runc | train |
4775c4233dd35d4ec667bcdede319ea0b72fc560 | diff --git a/format_checkers.go b/format_checkers.go
index <HASH>..<HASH> 100644
--- a/format_checkers.go
+++ b/format_checkers.go
@@ -154,7 +154,6 @@ func (c *FormatCheckerChain) Has(name string) bool {
// to see if it is the correct format
func (c *FormatCheckerChain) IsFormat(name string, input interface{}) bool {... | More idiomatic checks, and some minor reformatting | xeipuuv_gojsonschema | train |
1c57bb6604e50d19bdd9a5cab219aa0c770a1277 | diff --git a/library/Controller/Page.php b/library/Controller/Page.php
index <HASH>..<HASH> 100644
--- a/library/Controller/Page.php
+++ b/library/Controller/Page.php
@@ -2,24 +2,9 @@
namespace Municipio\Controller;
-class Page extends \Municipio\Controller\BaseController
+class Page extends \Municipio\Controller\... | Update singular controller to embed post object.
Removes global var $post | helsingborg-stad_Municipio | train |
c60915c4c7936e267ea80bcee0701e46654a21a6 | diff --git a/session.go b/session.go
index <HASH>..<HASH> 100644
--- a/session.go
+++ b/session.go
@@ -161,6 +161,9 @@ func (q *Query) Iter() *Iter {
// were selected, ErrNotFound is returned.
func (q *Query) Scan(dest ...interface{}) error {
iter := q.Iter()
+ if len(iter.rows) == 0 {
+ return ErrNotFound
+ }
i... | Return ErrNotFound when no row matches the query | gocql_gocql | train |
603aa61b89890d2d8bfcd71db089e5d7d8070bbc | diff --git a/sharding-core/src/main/java/io/shardingsphere/api/config/KeyGeneratorConfiguration.java b/sharding-core/src/main/java/io/shardingsphere/api/config/KeyGeneratorConfiguration.java
index <HASH>..<HASH> 100644
--- a/sharding-core/src/main/java/io/shardingsphere/api/config/KeyGeneratorConfiguration.java
+++ b/s... | delete getKeyGeneratorClassName() | apache_incubator-shardingsphere | train |
8ab677002ac9649a67501d66f010d8af8dbcba2d | diff --git a/cogen/core/pollers.py b/cogen/core/pollers.py
index <HASH>..<HASH> 100644
--- a/cogen/core/pollers.py
+++ b/cogen/core/pollers.py
@@ -416,23 +416,27 @@ class IOCPPoller(Poller):
for op in self.registered_ops:
if self.registered_ops[op].object[1] is testcoro:
return ... | made sendfile wrapper work with iocp;
made iocp poller more robust | ionelmc_python-cogen | train |
201ebdd19035028ac66f60318354291fc8554a09 | diff --git a/lib/centurion/docker_registry.rb b/lib/centurion/docker_registry.rb
index <HASH>..<HASH> 100644
--- a/lib/centurion/docker_registry.rb
+++ b/lib/centurion/docker_registry.rb
@@ -39,15 +39,16 @@ class Centurion::DockerRegistry
uri = uri_for_repository_path(repository, path)
$stderr.puts "GET: #{... | Manually re-merge conflicted changes. | newrelic_centurion | train |
39797da0dfdf1dde97c190d154c57797bb76fcd2 | diff --git a/lib/ast/binary_send.rb b/lib/ast/binary_send.rb
index <HASH>..<HASH> 100644
--- a/lib/ast/binary_send.rb
+++ b/lib/ast/binary_send.rb
@@ -30,11 +30,13 @@ module Atomy
def bytecode(g)
pos(g)
@lhs.compile(g)
+ g.push_literal message_name.to_sym unless @namespace == "_"
... | replace the rest of the call_custom usage | vito_atomy | train |
bf14f464003391977116a2fd4f1b91dca4a317ce | diff --git a/girc/client.py b/girc/client.py
index <HASH>..<HASH> 100755
--- a/girc/client.py
+++ b/girc/client.py
@@ -119,7 +119,7 @@ class ServerConnection(asyncio.Protocol):
self._imaps.append(new_string)
return new_string
- def ilist(self, in_list={}):
+ def ilist(self, in_list=[]):
... | Fix errors with IList and IMaps | goshuirc_irc | train |
e094d9c4be602b9c5794b947b037c6c081f4d4d1 | diff --git a/examples/src/test/java/com/carrotsearch/examples/randomizedrunner/Test001SimpleUseCase.java b/examples/src/test/java/com/carrotsearch/examples/randomizedrunner/Test001SimpleUseCase.java
index <HASH>..<HASH> 100644
--- a/examples/src/test/java/com/carrotsearch/examples/randomizedrunner/Test001SimpleUseCase.... | Corrected the example with a private hook method. | randomizedtesting_randomizedtesting | train |
a7294bd3c94ecf3d97bb639e20f75ff29003ca14 | diff --git a/src/results.py b/src/results.py
index <HASH>..<HASH> 100644
--- a/src/results.py
+++ b/src/results.py
@@ -43,6 +43,10 @@ def format(exp_paths,
for item in zip([128,256,512,1024,2048], test_ters):
print("(%d, %f)" % item)
+def filter_labels(sent, labels):
+ """ Returns only the tokens pre... | Refactored results.py | persephone-tools_persephone | train |
b478428d37fc4da42f5f771acbb3376010a351ec | diff --git a/lib/vcr/request_matcher_registry.rb b/lib/vcr/request_matcher_registry.rb
index <HASH>..<HASH> 100644
--- a/lib/vcr/request_matcher_registry.rb
+++ b/lib/vcr/request_matcher_registry.rb
@@ -16,7 +16,7 @@ module VCR
end
def register(name, &block)
- if @registry[name]
+ if @registry.has... | We really only care if the registry has the key, not what it is. | vcr_vcr | train |
abc051d009d49af88b34adecea4009e9ec4cb225 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- QueryProxy `where` will now look for declared properties matching hash keys. When found, it will send the value through that ... | Add methods to make it easy to get IDs for associations. Might be good if these eventually supported checking to see if the data is already loaded so that we don't need to query again | neo4jrb_neo4j | train |
f5a9939bc95acd4da5077889154f8ada73ecb8a2 | diff --git a/src/Http/InternalRequest.php b/src/Http/InternalRequest.php
index <HASH>..<HASH> 100644
--- a/src/Http/InternalRequest.php
+++ b/src/Http/InternalRequest.php
@@ -4,5 +4,14 @@ namespace Dingo\Api\Http;
class InternalRequest extends Request
{
- //
+ public function __construct(array $query = [], ar... | Fixes a problem whereby parameters passed through internal requests are not available in Laravel's $request->input() | laravie_api | train |
74abdccae55657502c8a6d11709289a4ed4c7de3 | diff --git a/psamm/datasource/native.py b/psamm/datasource/native.py
index <HASH>..<HASH> 100644
--- a/psamm/datasource/native.py
+++ b/psamm/datasource/native.py
@@ -301,11 +301,18 @@ class NativeModel(object):
if reaction.equation is not None:
database.set_reaction(reaction.id, reaction.... | native: Warn about undefined compartments
When creating a metabolic model, warn about compounds in
compartments that have not been specified in the model. | zhanglab_psamm | train |
048ef9326d713b54e5e1dc014bac071a98aee186 | diff --git a/fastlane/lib/fastlane/actions/appium.rb b/fastlane/lib/fastlane/actions/appium.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/actions/appium.rb
+++ b/fastlane/lib/fastlane/actions/appium.rb
@@ -195,7 +195,7 @@ module Fastlane
versionNumber: "9.1",
deviceName: "i... | missing colon in appium sample code (#<I>) | fastlane_fastlane | train |
6f9038ea1a0b55e4941c446a1d4f37179f44f288 | diff --git a/lib/createMedian.py b/lib/createMedian.py
index <HASH>..<HASH> 100644
--- a/lib/createMedian.py
+++ b/lib/createMedian.py
@@ -183,7 +183,6 @@ def _median(imageObjectList=None,configObj={},saveFiles=True):
#
# END Loop over input image list
#
- print 'readnoise list in createMe... | oops, took out bug check print line in createMedian
git-svn-id: <URL> | spacetelescope_drizzlepac | train |
0e671acc188ce6f3484459e5bfe1f2b42358c35c | diff --git a/spec/support/schema.rb b/spec/support/schema.rb
index <HASH>..<HASH> 100644
--- a/spec/support/schema.rb
+++ b/spec/support/schema.rb
@@ -34,7 +34,11 @@ class Person < ActiveRecord::Base
has_many :children, class_name: 'Person', foreign_key: :parent_id
has_many :articles
if ActiveRecord::VERSI... | Fix specs broken by Rails 3 on Ruby <I>.
With the new Ruby <I>, Active Record 3 association conditions are not
being recognized when using hash syntax instead of SQL string literals.
Using string literals makes the spec work again, but it may be worth
checking whether it is Ransack or Active Record that is breaking w... | activerecord-hackery_ransack | train |
c30d0981d84155a3aa8837dd6995d24ba34b8584 | diff --git a/tests/test-pinyin.py b/tests/test-pinyin.py
index <HASH>..<HASH> 100644
--- a/tests/test-pinyin.py
+++ b/tests/test-pinyin.py
@@ -11,6 +11,8 @@ from zhon import pinyin
NUM_WORDS = 50 # Number of random words to test
WORD_LENGTH = 4 # Length of random words (number of syllables)
+NUM_SENT = 10 ... | Adds Pinyin sentence constant. | tsroten_zhon | train |
4c27044bf723ac8414c189ee88abc3701725f1f7 | diff --git a/Entity/Image/AbstractImage.php b/Entity/Image/AbstractImage.php
index <HASH>..<HASH> 100644
--- a/Entity/Image/AbstractImage.php
+++ b/Entity/Image/AbstractImage.php
@@ -52,7 +52,7 @@ abstract class AbstractImage
/**
* @var string
*
- * @ORM\Column(type="string")
+ * @ORM\Column
... | Remove default type="string" from mapping annotations. | DarvinStudio_DarvinImageBundle | train |
8648e02f528e21bd9cc426224006991f55b3dec5 | diff --git a/core/src/main/java/com/google/bitcoin/core/TCPNetworkConnection.java b/core/src/main/java/com/google/bitcoin/core/TCPNetworkConnection.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/bitcoin/core/TCPNetworkConnection.java
+++ b/core/src/main/java/com/google/bitcoin/core/TCPNetworkConne... | Throw away messages until version negotiation is complete rather than throwing an exception. There's a bug in Satoshis code (bug <I>) that can cause alerts to be relayed before nego finishes. | bitcoinj_bitcoinj | train |
04f39527339990bbfa25d9c115eb36fa1d0354ed | diff --git a/packages/blueprint/lib/loader.js b/packages/blueprint/lib/loader.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint/lib/loader.js
+++ b/packages/blueprint/lib/loader.js
@@ -18,22 +18,27 @@ const all = require ('require-all');
const { BO } = require ('base-object');
const _ = require ('lodash... | chore: switch to fs.promise | onehilltech_blueprint | train |
5367907eee578ebce6c30957d58f0c52c8f05c07 | diff --git a/themoviedbapi/src/com/moviejukebox/themoviedb/TheMovieDb.java b/themoviedbapi/src/com/moviejukebox/themoviedb/TheMovieDb.java
index <HASH>..<HASH> 100644
--- a/themoviedbapi/src/com/moviejukebox/themoviedb/TheMovieDb.java
+++ b/themoviedbapi/src/com/moviejukebox/themoviedb/TheMovieDb.java
@@ -98,14 +98,13 ... | moved parameters declaration after the initial check for null or empty strings | Omertron_api-themoviedb | train |
b588dad10d0cd085ad529fbd07a03bc98d6eab0b | diff --git a/lib/verku/version.rb b/lib/verku/version.rb
index <HASH>..<HASH> 100644
--- a/lib/verku/version.rb
+++ b/lib/verku/version.rb
@@ -1,5 +1,5 @@
module Verku
- VERSION = '0.9.0.pre58'
+ VERSION = '0.9.0.pre59'
# module Version
# MAJOR = 0
# MINOR = 9 | Bump to <I>.pre<I> | Merovex_verku | train |
01d0874a70a9d2957a8f96501e72a31b5da63717 | diff --git a/pandas/core/arrays/arrow/_arrow_utils.py b/pandas/core/arrays/arrow/_arrow_utils.py
index <HASH>..<HASH> 100644
--- a/pandas/core/arrays/arrow/_arrow_utils.py
+++ b/pandas/core/arrays/arrow/_arrow_utils.py
@@ -92,7 +92,7 @@ class ArrowPeriodType(pyarrow.ExtensionType):
else:
return No... | TYP: fix some of the __hash__ methods (#<I>) | pandas-dev_pandas | train |
37de751929c584d0f3ff0de6531320f515562555 | diff --git a/nose/test_interp_potential.py b/nose/test_interp_potential.py
index <HASH>..<HASH> 100644
--- a/nose/test_interp_potential.py
+++ b/nose/test_interp_potential.py
@@ -20,8 +20,9 @@ def test_interpolation_potential():
zs= numpy.linspace(0.0,0.2,20)
for r in rs:
for z in zs:
- pr... | test vector input of interpRZPotential's evaluate | jobovy_galpy | train |
14b58f9e930821d5e7962a5cfbc2f36466e8b76e | diff --git a/pyblish_qml/models.py b/pyblish_qml/models.py
index <HASH>..<HASH> 100644
--- a/pyblish_qml/models.py
+++ b/pyblish_qml/models.py
@@ -246,7 +246,7 @@ class AbstractModel(QtCore.QAbstractListModel):
except Exception:
pass
- return Item()
+ return "QVariant"
... | Change `Item()` to "QVariant" for consistency | pyblish_pyblish-qml | train |
467d976f0a5e466b5463d1fbeadb653afe52c908 | diff --git a/sockets.go b/sockets.go
index <HASH>..<HASH> 100644
--- a/sockets.go
+++ b/sockets.go
@@ -18,26 +18,22 @@ package main
import (
"code.google.com/p/go.net/websocket"
- "crypto/ecdsa"
- "crypto/elliptic"
- "crypto/rand"
"crypto/sha256"
_ "crypto/sha512" // for cert generation
"crypto/subtle"
"cr... | Switch to btcutil for certificate generation. | btcsuite_btcwallet | train |
19374efb9e6cb155ba54e6a635338ac9bf5bb30f | diff --git a/WindowImplBrowser.js b/WindowImplBrowser.js
index <HASH>..<HASH> 100644
--- a/WindowImplBrowser.js
+++ b/WindowImplBrowser.js
@@ -122,17 +122,6 @@ WindowImplBrowser.create = function(windowPex,settings){
setCanvasSize(canvas,width,height,settings.pixelRatio);
- //TODO: add MSAA multisample supp... | WindowImplBrowser added support for 2d window with HTMLCanvas context | pex-gl_pex-sys | train |
62a996930e552b9d0076078b68e57347749593c0 | diff --git a/tests/integration/nupic/opf/hotgym_regression_test.py b/tests/integration/nupic/opf/hotgym_regression_test.py
index <HASH>..<HASH> 100644
--- a/tests/integration/nupic/opf/hotgym_regression_test.py
+++ b/tests/integration/nupic/opf/hotgym_regression_test.py
@@ -41,11 +41,9 @@ class HotgymRegressionTest(uni... | Calculate experimentDir as relative to __file__ | numenta_nupic | train |
beeee369a48ca6c20c1f3942e3c555e40201f2c3 | diff --git a/Resources/public/js/media-browser.js b/Resources/public/js/media-browser.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/media-browser.js
+++ b/Resources/public/js/media-browser.js
@@ -391,7 +391,19 @@
this.downloadMedia($media);
return;
}
- ... | [MediaBundle] Fix player modal sizing. | ekyna_MediaBundle | train |
fa086c679ec46a92a294416158344af3f90f0792 | diff --git a/cree-sro-syllabics.js b/cree-sro-syllabics.js
index <HASH>..<HASH> 100644
--- a/cree-sro-syllabics.js
+++ b/cree-sro-syllabics.js
@@ -173,31 +173,6 @@
}
}
- /**
- * Template tag for creating defining regular expressions with whitespace
- * and placeholders. Allows for (somewhat) more readabl... | Remove template tag filter for verbose RegExps. | eddieantonio_cree-sro-syllabics.js | train |
4471472aa5d7d4b75ea0b15987c83707cdfee3df | diff --git a/core-bundle/src/Config/ChainFileLocator.php b/core-bundle/src/Config/ChainFileLocator.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Config/ChainFileLocator.php
+++ b/core-bundle/src/Config/ChainFileLocator.php
@@ -41,7 +41,7 @@ class ChainFileLocator implements FileLocatorInterface
{
... | [Core] Change order of locators when looking for all files | contao_contao | train |
ceb2d725f64be6c4573b28c76ea4fe2335a51974 | diff --git a/src/SAML2/Response/Processor.php b/src/SAML2/Response/Processor.php
index <HASH>..<HASH> 100644
--- a/src/SAML2/Response/Processor.php
+++ b/src/SAML2/Response/Processor.php
@@ -130,19 +130,13 @@ class SAML2_Response_Processor
}
if (!$this->responseIsSigned) {
- $containsSign... | Make the check the same as in simplesamlphp | simplesamlphp_saml2 | train |
775f53d34215432218e25ef64dfbdee80594f3ca | diff --git a/src/Morearty.js b/src/Morearty.js
index <HASH>..<HASH> 100644
--- a/src/Morearty.js
+++ b/src/Morearty.js
@@ -426,6 +426,7 @@ Context.prototype = Object.freeze( /** @lends Context.prototype */ {
});
} else {
self._componentQueue.forEach(function (c) {
+ savePreviou... | Track component._previousState more rigorously. | moreartyjs_moreartyjs | train |
878593402951027d18fca8e063677564ba3d70d8 | diff --git a/lib/grasshopper-api.js b/lib/grasshopper-api.js
index <HASH>..<HASH> 100644
--- a/lib/grasshopper-api.js
+++ b/lib/grasshopper-api.js
@@ -11,6 +11,7 @@ var express = require('express'),
app.configure( function () {
app.use(function(req, res, next) {
res.setHeader("Access-Control-Allow-Origin... | GRAS-<I> Added route to api for deleting content types and also added allowed "verbs" | grasshopper-cms_grasshopper-api-js | train |
1f86e5646a70e96e47630d001a02bd6988c86436 | diff --git a/src/Vendor/Laravel/Models/Log.php b/src/Vendor/Laravel/Models/Log.php
index <HASH>..<HASH> 100644
--- a/src/Vendor/Laravel/Models/Log.php
+++ b/src/Vendor/Laravel/Models/Log.php
@@ -126,7 +126,7 @@ class Log extends Base {
$result = $this
->join('tracker_route_paths', 'tracker_route_paths.id', '='... | Fix not being found when route has not parameters | antonioribeiro_tracker | train |
bc48747100de2b68d4caaa1f8757a74059e00cb8 | diff --git a/urlfetch/__init__.py b/urlfetch/__init__.py
index <HASH>..<HASH> 100644
--- a/urlfetch/__init__.py
+++ b/urlfetch/__init__.py
@@ -31,6 +31,7 @@ else:
import Cookie
import base64
from functools import partial
+import os
__all__ = [
@@ -94,7 +95,7 @@ def _encode_multipart(data, files):
i... | fix bug: f.name is filepath, use basename | ifduyue_urlfetch | train |
ea00ab9919040c378394b96301c9988566fb249d | diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/TomcatWebServerFactoryCustomizer.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/TomcatWebServerFactoryCustomizer.java
index... | Protect against NoSuchMethodError when deploying to old Tomcats
Fixes gh-<I> | spring-projects_spring-boot | train |
377d276390c768f67c41a6d6f0c112f42d993c27 | diff --git a/src/Joomlatools/Console/Command/PluginInstall.php b/src/Joomlatools/Console/Command/PluginInstall.php
index <HASH>..<HASH> 100644
--- a/src/Joomlatools/Console/Command/PluginInstall.php
+++ b/src/Joomlatools/Console/Command/PluginInstall.php
@@ -23,9 +23,9 @@ class PluginInstall extends Command
prot... | re #<I> - Check if git-ftp is installed | joomlatools_joomlatools-console | train |
96df6e55f8a32c02c1fd612aab75520ace2cae01 | diff --git a/liquid_tags/notebook.py b/liquid_tags/notebook.py
index <HASH>..<HASH> 100644
--- a/liquid_tags/notebook.py
+++ b/liquid_tags/notebook.py
@@ -51,6 +51,7 @@ import warnings
import re
import os
from functools import partial
+from io import open
from .mdx_liquid_tags import LiquidTags
@@ -324,7 +325,7... | liquid_tags: Open notebooks with utf-8 encoding
I discovered a problem with UTF-8 encoded notebooks. It throws a
DecodeError. We now use io.open() so we can define a encoding to open a
file. Works with ASCII and Unicode encoded notebooks. | getpelican_pelican-plugins | train |
47fe4c5f483399c0efda0d3cf275d5d12b0283d3 | diff --git a/lib/active_admin/inputs/filter_boolean_input.rb b/lib/active_admin/inputs/filter_boolean_input.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin/inputs/filter_boolean_input.rb
+++ b/lib/active_admin/inputs/filter_boolean_input.rb
@@ -11,28 +11,16 @@ module ActiveAdmin
end
end
- d... | remove needless Formtastic overrides
This has the added benefit of resolving #<I> | activeadmin_activeadmin | train |
c236cabb4df33870562c3582429ca7a16802d6d8 | diff --git a/python_modules/dagster/dagster/core/execution/plan/active.py b/python_modules/dagster/dagster/core/execution/plan/active.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster/core/execution/plan/active.py
+++ b/python_modules/dagster/dagster/core/execution/plan/active.py
@@ -136,7 +136,7 @@ c... | Migrate DagsterUnknownStepStateError to crag (#<I>) | dagster-io_dagster | train |
1d24f3020a420ed6ff31ace68c39804b979ed418 | diff --git a/nut.js b/nut.js
index <HASH>..<HASH> 100644
--- a/nut.js
+++ b/nut.js
@@ -14,6 +14,13 @@ function has(obj, name) {
return Object.hasOwnProperty.call(obj, name)
}
+function clone (_obj) {
+ var obj = {}
+ for(var k in _obj)
+ obj[k] = _obj[k]
+ return obj
+}
+
module.exports = function (db, pre... | clone instead of mutating | dominictarr_level-sublevel | train |
e66723a7e58eed27ebf6faeb9b9e18af67529e0f | diff --git a/Controller.php b/Controller.php
index <HASH>..<HASH> 100644
--- a/Controller.php
+++ b/Controller.php
@@ -18,6 +18,17 @@ class Controller extends ControllerBase
private $layout_map;
private $current_layout;
private $template_variables = array();
+ private $template_loader;
+
+ public f... | Inject TemplateLoader into controller instead of pulling in as a service. | bugadani_Minty | train |
89d00c4f0801a1d00f57c4bedb81c23b888e18df | diff --git a/lib/capybara/server.rb b/lib/capybara/server.rb
index <HASH>..<HASH> 100644
--- a/lib/capybara/server.rb
+++ b/lib/capybara/server.rb
@@ -32,7 +32,7 @@ module Capybara
end
def host
- "localhost"
+ "127.0.0.1"
end
def url(path) | Use <I> instead of localhost
Apparently this prevents some issues and has no
downsides. | teamcapybara_capybara | train |
1ff19b08243bd403861c0db5debfea1702aa98bd | diff --git a/reactor.py b/reactor.py
index <HASH>..<HASH> 100644
--- a/reactor.py
+++ b/reactor.py
@@ -36,35 +36,25 @@ class Reactor(object):
while 1:
print 'Counter at', counter
rrlist, _, _ = select.select(self.select_list, [], [], 5)
- if not all(rrlist):
- ... | Threw time.sleep in here so I don't overload the peers | jefflovejapan_drench | train |
c77c3f978661dede11e2f3c34b442bc472504f7a | diff --git a/bg/vertex.py b/bg/vertex.py
index <HASH>..<HASH> 100644
--- a/bg/vertex.py
+++ b/bg/vertex.py
@@ -12,4 +12,9 @@ class BGVertex(object):
self.info = info
def __hash__(self):
- return hash(self.name)
\ No newline at end of file
+ return hash(self.name)
+
+ def __eq__(self, ot... | implemented BGVertex equality and equipped it with suitable test case | aganezov_bg | train |
1b93973a7cfbcc90103b086c53d2a15dd833305b | diff --git a/test/codec.js b/test/codec.js
index <HASH>..<HASH> 100644
--- a/test/codec.js
+++ b/test/codec.js
@@ -441,5 +441,27 @@ describe('codec', function() {
assert.strictEqual(encoded, 10);
});
+
+ it('should encode each key in a dictionary-like object', function() {
+ var obj = {
+ f... | Additional Spanner tests. (#<I>) | googleapis_nodejs-spanner | train |
ef9f8f28c9d8e2cc10e1b56063e41d41db90efbf | diff --git a/pywal/colors.py b/pywal/colors.py
index <HASH>..<HASH> 100644
--- a/pywal/colors.py
+++ b/pywal/colors.py
@@ -54,6 +54,13 @@ def sort_colors(img, colors):
we will later save in json format."""
raw_colors = colors[:1] + colors[9:] + colors[8:]
+ # Darken the background color if it's too li... | colors: Darken bg if contrast is too low. | dylanaraps_pywal | train |
3d642fbed00d9fb956e5484cfe13d77b35310a00 | diff --git a/dataviews/plots.py b/dataviews/plots.py
index <HASH>..<HASH> 100644
--- a/dataviews/plots.py
+++ b/dataviews/plots.py
@@ -16,11 +16,10 @@ import param
from .views import NdMapping, Stack, View
from .dataviews import DataStack, DataOverlay, DataLayer, Curve, Histogram,\
- Table, TableStack, ScatterPo... | Docstring and whitespace cleanup in plots | pyviz_holoviews | train |
fb436b34f590597b524c71f81daf585d9b7a8b7e | diff --git a/dolo/misc/caching.py b/dolo/misc/caching.py
index <HASH>..<HASH> 100644
--- a/dolo/misc/caching.py
+++ b/dolo/misc/caching.py
@@ -120,7 +120,7 @@ class DiskDictionary:
with file(filename) as f:
value = pickle.load(f)
return value
- except IOError:
+ ... | ENH: very unsophisticated cached on disk dictionary object | EconForge_dolo | train |
6b22f1260d0737c235c85eb257727a371b9de5a4 | diff --git a/Listener/Resource/PathListener.php b/Listener/Resource/PathListener.php
index <HASH>..<HASH> 100644
--- a/Listener/Resource/PathListener.php
+++ b/Listener/Resource/PathListener.php
@@ -41,7 +41,6 @@ class PathListener extends ContainerAware
);
}
else {
-
$route ... | [PathBundle] WIP handle path copy | claroline_Distribution | train |
17ee41fe371c137758663545ed43575389d7e089 | diff --git a/app/models/pageflow/widget.rb b/app/models/pageflow/widget.rb
index <HASH>..<HASH> 100644
--- a/app/models/pageflow/widget.rb
+++ b/app/models/pageflow/widget.rb
@@ -64,9 +64,8 @@ module Pageflow
initial_widgets = placeholders_by_role.merge(defaults_by_role)
initial_widgets.merge(from_db_... | Widget default configurations are applied on role level. | codevise_pageflow | train |
2a3ff828a0aaa723820c18f3ef35920666bc8322 | diff --git a/test/utils/jmx/broker/playground.py b/test/utils/jmx/broker/playground.py
index <HASH>..<HASH> 100644
--- a/test/utils/jmx/broker/playground.py
+++ b/test/utils/jmx/broker/playground.py
@@ -28,6 +28,8 @@ queue = RemoteJmxQueue(session, broker_name='TEST.BROKER', queue_name='test.req'
queue.send_text_messa... | Implement get_message_contents. | julianghionoiu_tdl-client-python | train |
fbb61f77abe3e756965c3b39843611f36628132b | diff --git a/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php b/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php
index <HASH>..<HASH> 100644
--- a/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php
+++ b/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php
@@ -27,7 +27,6 @@ use PhpCsFixer\Tokenizer\Analyzer\Names... | FullyQualifiedStrictTypesFixer - fix for union types | FriendsOfPHP_PHP-CS-Fixer | train |
5c2455a1179c834a5a79ca7cf912db630d803bea | diff --git a/parsl/dataflow/strategy.py b/parsl/dataflow/strategy.py
index <HASH>..<HASH> 100644
--- a/parsl/dataflow/strategy.py
+++ b/parsl/dataflow/strategy.py
@@ -2,7 +2,8 @@ import logging
import time
import math
-from parsl.executors.ipp import IPyParallelExecutor
+from parsl.executors import IPyParallelExecu... | Adding outstanding and connected_workers properties to HighThroughput and IPP executors
This now enables scaling_up with the strategy pieces. | Parsl_parsl | train |
4ccbcb91c8d31670a88ac81fddd314cf6720f50d | diff --git a/etcdmain/etcd.go b/etcdmain/etcd.go
index <HASH>..<HASH> 100644
--- a/etcdmain/etcd.go
+++ b/etcdmain/etcd.go
@@ -208,7 +208,7 @@ func startEtcd(cfg *config) (<-chan struct{}, error) {
plog.Warningf("The scheme of peer url %s is http while peer key/cert files are presented. Ignored peer key/cert files.... | rafthttp: add functions to create listener and roundTripper
This moves the code to create listener and roundTripper for raft communication
to the same place, and use explicit functions to build them. This prevents
possible development errors in the future. | etcd-io_etcd | train |
98f864b40c1970dce3f8a82e3fd16180343a50fd | diff --git a/titan-core/src/main/java/com/thinkaurelius/titan/graphdb/olap/job/IndexRemoveJob.java b/titan-core/src/main/java/com/thinkaurelius/titan/graphdb/olap/job/IndexRemoveJob.java
index <HASH>..<HASH> 100644
--- a/titan-core/src/main/java/com/thinkaurelius/titan/graphdb/olap/job/IndexRemoveJob.java
+++ b/titan-c... | Allow empty relation type name in IndexRemoveJob
This is empty when removing a graph index. | thinkaurelius_titan | train |
53e30d6b1deda8d5960a80825e3c0d0a9de6ecea | diff --git a/lib/diameter/avp.rb b/lib/diameter/avp.rb
index <HASH>..<HASH> 100644
--- a/lib/diameter/avp.rb
+++ b/lib/diameter/avp.rb
@@ -129,6 +129,22 @@ class AVP
@content = new_content
end
+ def inner_avp(name)
+ avps = inner_avps(name)
+
+ if avps.empty?
+ nil
+ else
+ avps[0]
+ en... | Add inner_avp[s] methods | rkday_ruby-diameter | train |
685814aa619bfbce4824647e435858f097782491 | diff --git a/src/client/voice/dispatcher/StreamDispatcher.js b/src/client/voice/dispatcher/StreamDispatcher.js
index <HASH>..<HASH> 100644
--- a/src/client/voice/dispatcher/StreamDispatcher.js
+++ b/src/client/voice/dispatcher/StreamDispatcher.js
@@ -118,8 +118,8 @@ class StreamDispatcher extends Writable {
* Pause... | voice: make sure speaking is false when paused | discordjs_discord.js | train |
f258c2a72fd316f6306df7383242a022004b98b6 | diff --git a/src/SearchResults/index.js b/src/SearchResults/index.js
index <HASH>..<HASH> 100644
--- a/src/SearchResults/index.js
+++ b/src/SearchResults/index.js
@@ -296,6 +296,9 @@ function SearchResults(state, results) {
this.automaticRadius = mainSubResponse.automaticRadius;
/**
* String identifying the s... | docs(serverUsed): mention getRankingInfo (#<I>)
This is a basically useless response, and we maybe shoudl remove it, and similar field (as you can read them from _rawResponse), or we can arbitrarily set all remaining parameters.
fixes #<I> | algolia_algoliasearch-helper-js | train |
4382a5a7b4b49ff8a2910fd6324873ebd78d328a | diff --git a/twelvefactor/twelvefactor.go b/twelvefactor/twelvefactor.go
index <HASH>..<HASH> 100644
--- a/twelvefactor/twelvefactor.go
+++ b/twelvefactor/twelvefactor.go
@@ -180,6 +180,31 @@ type Scheduler interface {
Restart(context.Context, string, StatusStream) error
}
+// Trasnform wraps a Scheduler to perfor... | Adds a twelvefactor.Transform method.
This commit adds a `twelvefactor.Transform` method, which returns a
wrapped `twelvefactor.Scheduler` that will transform the
`twelvefactor.Manifest` before passing it to the downstream scheduler.
This can be used to, for example, add default placement constraints to
processes tha... | remind101_empire | train |
d8ad360d02e3743a4ba674c19996aea077707707 | diff --git a/lib/collection.js b/lib/collection.js
index <HASH>..<HASH> 100644
--- a/lib/collection.js
+++ b/lib/collection.js
@@ -17,13 +17,45 @@ class Collection {
this._opSubject = new Subject();
this.action$ = this._actionSubject.asObservable();
this.op$ = this._opSubject.asObservable();
+
+ ['ins... | refactor: use external facing action() for base actions | boosterfuels_monogram | train |
d57f6fd544cfeb864307dcc261e25d0a62a1111b | diff --git a/src/AutoComplete/AutoComplete.js b/src/AutoComplete/AutoComplete.js
index <HASH>..<HASH> 100644
--- a/src/AutoComplete/AutoComplete.js
+++ b/src/AutoComplete/AutoComplete.js
@@ -138,6 +138,11 @@ class AutoComplete extends React.Component {
onFocus: React.PropTypes.func,
/**
+ * Callback fun... | [AutoComplete] Allow devs to hook into onKeyDown | mui-org_material-ui | train |
8bbf519a3824432ab5c05168746317c427acd046 | diff --git a/molecule/driver/delegated.py b/molecule/driver/delegated.py
index <HASH>..<HASH> 100644
--- a/molecule/driver/delegated.py
+++ b/molecule/driver/delegated.py
@@ -42,6 +42,7 @@ class Delegated(base.Base):
However, the developer must adhere to the instance-config API. The
developer's create playbo... | allow for become_method and become_pass variables with the delegated driver (#<I>)
* allow for become_method and become_pass variables with the delegated driver | ansible_molecule | train |
fd726fa5d73cbebeb01f60411d4c6db387827674 | diff --git a/src/Records/Traits/Media/Covers/RecordTrait.php b/src/Records/Traits/Media/Covers/RecordTrait.php
index <HASH>..<HASH> 100644
--- a/src/Records/Traits/Media/Covers/RecordTrait.php
+++ b/src/Records/Traits/Media/Covers/RecordTrait.php
@@ -10,9 +10,8 @@ trait RecordTrait
use \ByTIC\Common\Records\Trai... | add uplload to center in covers | bytic_Common | train |
1911ebc0f6384678b64a69297f4cc362215b55d5 | diff --git a/src/Essence/Matchers/LengthMatcher.php b/src/Essence/Matchers/LengthMatcher.php
index <HASH>..<HASH> 100644
--- a/src/Essence/Matchers/LengthMatcher.php
+++ b/src/Essence/Matchers/LengthMatcher.php
@@ -14,11 +14,15 @@ class LengthMatcher extends AbstractMatcher
/**
* {@inheritdoc}
*/
+ ... | LengthMatcher now supports config mode. | bound1ess_essence | train |
06140e1b164f4352e096bced5d68760cbd1e4e24 | diff --git a/lib/syllabification_context.rb b/lib/syllabification_context.rb
index <HASH>..<HASH> 100644
--- a/lib/syllabification_context.rb
+++ b/lib/syllabification_context.rb
@@ -24,6 +24,10 @@ module Pronounce
Syllable.new(@phones.slice(completed_length...@phone_index))
end
+ def previous_phone_in... | Reduced duplication of a common query on the syllable context. | josephwilk_pronounce | train |
1a523affb8977e071b6f7e09f0bbe9b270668cfc | diff --git a/examples/download_dashboards.py b/examples/download_dashboards.py
index <HASH>..<HASH> 100755
--- a/examples/download_dashboards.py
+++ b/examples/download_dashboards.py
@@ -75,7 +75,7 @@ if not os.path.exists(sysdig_dashboard_dir):
for db in res['dashboards']:
sdclient.save_dashboard_to_file(db, os.... | fix: Update dashboards to latest API (#<I>) | draios_python-sdc-client | train |
ac30794f13b6e6cc33bb811e0907725c7528fbae | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -55,7 +55,7 @@ function main (options, done) {
try {
src = fs.readFileSync(filename, 'utf8')
} catch (e) {
- throw new Error('Could not read file from /src/posts/' + filename)
+ throw new Error('Could not read... | Fix error message when file failed to read | yoshuawuyts_markdown-to-medium | train |
454991485979eba66662d075bcf2341c656b3738 | diff --git a/src/project/ProjectManager.js b/src/project/ProjectManager.js
index <HASH>..<HASH> 100644
--- a/src/project/ProjectManager.js
+++ b/src/project/ProjectManager.js
@@ -1810,7 +1810,21 @@ define(function (require, exports, module) {
var escapedName = _.escape(entry.name);
_pr... | Correctly selects filename when known extension with a dot inside is used | adobe_brackets | train |
106d2ef9d450b504a9a05846423ab28a2d102a3d | diff --git a/src/SoapHeaderEventSubscriber.php b/src/SoapHeaderEventSubscriber.php
index <HASH>..<HASH> 100644
--- a/src/SoapHeaderEventSubscriber.php
+++ b/src/SoapHeaderEventSubscriber.php
@@ -68,9 +68,16 @@ class SoapHeaderEventSubscriber implements EventSubscriberInterface
$document->firstChild... | Update SoapHeaderEventSubscriber.php
Missing root prefix in soap header. | dmt-software_jms-soap-serializer | train |
a56cb821800aa7b7680079d431a92ba898060c24 | diff --git a/etcdserver/server_test.go b/etcdserver/server_test.go
index <HASH>..<HASH> 100644
--- a/etcdserver/server_test.go
+++ b/etcdserver/server_test.go
@@ -1369,10 +1369,11 @@ func (n *nodeRecorder) Step(ctx context.Context, msg raftpb.Message) error {
n.Record(testutil.Action{Name: "Step"})
return nil
}
-f... | etcdserver: add TransferLeadership for raft.Node | etcd-io_etcd | train |
c389ac760e178d7ae36772ad714e1b470020f269 | diff --git a/RisWriter.php b/RisWriter.php
index <HASH>..<HASH> 100644
--- a/RisWriter.php
+++ b/RisWriter.php
@@ -84,7 +84,7 @@ class RisWriter
}
/* First position for TY (Type) */
- array_push($buffer, sprintf('TY - %s', $record['TY']));
+ array_push($buffer, sprintf('TY - %s', $re... | For Field TY, only get first position on array | Funstaff_RefLibRis | train |
3d7f884ccfe15da1b218903b37b255769223b4cf | diff --git a/jax/numpy/lax_numpy.py b/jax/numpy/lax_numpy.py
index <HASH>..<HASH> 100644
--- a/jax/numpy/lax_numpy.py
+++ b/jax/numpy/lax_numpy.py
@@ -3235,6 +3235,11 @@ def _unimplemented_setitem(self, i, x):
"jax.ops.index_add instead?")
raise TypeError(msg.format(type(self)))
+def _operator_round(numb... | Implement __round__ on JAX arrays. (#<I>)
* Implement __round__ on JAX arrays.
Avoids breakage from <URL> | tensorflow_probability | train |
cec82b1a3f4bd17a5cdf30405f8c159d414da3ff | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ The following date formats are parsed:
<a name="date_strftime"></a>
#### $date = \Missing\Date::strftime($date_string, $format, $else, $tz)
-Parses $date_string using \Missing\Date::parse(), if it parses... | Allow Date::strftime to accept a UTC timestamp | dxw_php-missing | train |
0ff30de5275530de955297478ecce7fc81a4bcb2 | diff --git a/IndexedRedis/__init__.py b/IndexedRedis/__init__.py
index <HASH>..<HASH> 100644
--- a/IndexedRedis/__init__.py
+++ b/IndexedRedis/__init__.py
@@ -394,7 +394,7 @@ class IndexedRedisModel(object):
def __getattribute__(self, keyName):
# If something on the class, just return it right away.
oga = objec... | Dont use hasattr, which calls __getattribute__ and ends up resolving foreign fields. Instead, check if keyname is in dir(...) | kata198_indexedredis | train |
72811d64d595c606f0931f8ecc47ca8b81a45dfa | diff --git a/src/Psy/Shell.php b/src/Psy/Shell.php
index <HASH>..<HASH> 100644
--- a/src/Psy/Shell.php
+++ b/src/Psy/Shell.php
@@ -859,6 +859,12 @@ class Shell extends Application
}
}
+ /**
+ * Initialize tab completion matchers.
+ *
+ * If tab completion is enabled this adds tab completi... | Add docblock to initializeTabCompletion method | bobthecow_psysh | train |
19c3a156859094d1f487a423c2f8eabb9c8b27f9 | diff --git a/src/path.js b/src/path.js
index <HASH>..<HASH> 100644
--- a/src/path.js
+++ b/src/path.js
@@ -27,7 +27,9 @@ const validate = require('./validate')();
*
* @type {RegExp}
*/
-const RESOURCE_PATH_RE = /^projects\/([^/]*)\/databases\/([^/]*)(?:\/documents\/)?(.*)$/;
+const RESOURCE_PATH_RE =
+ // Note: ... | Allow newlines in Resource Paths (#<I>) | googleapis_nodejs-firestore | train |
9622c0302969343844d8deacb5b71ddf01a38668 | diff --git a/lib/square.js b/lib/square.js
index <HASH>..<HASH> 100644
--- a/lib/square.js
+++ b/lib/square.js
@@ -758,10 +758,17 @@ Square.prototype.merge = function merge (extension, groupsout) {
function insert (match, commenttype, statement, file) {
var location = basepath(file, self.package.path);
- i... | [fix] Fixed an edge case where including files that didn't have a closing semi colon caused fucking mayhem. | observing_square | train |
0cc04b311d37bb0986afb0f4c53c183588677bf1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ setup(
keywords = 'zendesk api helpdesk',
description = 'Python API Wrapper for Zendesk',
classifiers = [
- 'Development Status :: 5 - Production/Stable',
+ 'Development Status :: 4 ... | prep for release. drop status to beta | fprimex_zdesk | train |
74d7664b607a7ca2770c937a832b3339d7bf8203 | diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_view/helpers/date_helper.rb
+++ b/actionpack/lib/action_view/helpers/date_helper.rb
@@ -923,6 +923,7 @@ module ActionView
private
def... | Avoid uninitialized variable warning. | rails_rails | train |
4390a4c617de106285b678601b5385dd312568c8 | diff --git a/config.py b/config.py
index <HASH>..<HASH> 100644
--- a/config.py
+++ b/config.py
@@ -60,6 +60,7 @@ EXTENSIONS = [
'invenio.ext.jasmine', # after assets
'flask_breadcrumbs:Breadcrumbs',
'invenio.modules.deposit.url_converters',
+ 'invenio.ext.iiif',
]
PACKAGES = [ | global: enable Flask-IIIF extension
* NEW Uses Flask-IIIF extension providing various image manipulation
capabilities.
* NEW Adds possibility to refer to documents and legacy BibDocFiles
via special path such as `/api/multimedia/image/recid:{recid}` or
`/api/multimedia/image/recid:{recid}-{filename}` or
`/api... | inveniosoftware_invenio-base | train |
3dded704fe405a2262584b3dd4717ca27e40f99e | diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1252,8 +1252,7 @@ class Config(object):
"MODULES, like older versions of the C "
"implementation did when 'option modules' "
... | linenr is non-None if filename is non-None.
Piggyback vertical nit. | ulfalizer_Kconfiglib | train |
534bbff06ff46bd21d71700c833486524273c951 | diff --git a/select2.js b/select2.js
index <HASH>..<HASH> 100644
--- a/select2.js
+++ b/select2.js
@@ -777,7 +777,7 @@ the specific language governing permissions and limitations under the Apache Lic
// for mouse events outside of itself so it can close itself. since the dropdown is now outside the select2... | trap touchstart touchend events within container | select2_select2 | train |
5c49ae3af1086fe1bf4df374a3b2bd6bdde37b87 | diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py
index <HASH>..<HASH> 100644
--- a/airflow/bin/cli.py
+++ b/airflow/bin/cli.py
@@ -2395,7 +2395,7 @@ class CLIFactory(object):
subparsers.required = True
subparser_list = cls.dag_subparsers if dag_parser else cls.subparsers_dict.keys()
- for... | [AIRFLOW-<I>] Airflow CLI - Sort commands alphabetically (#<I>) | apache_airflow | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.