hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
7e577405d2ed88defc95d45ad49c7fa353d9ea1f | diff --git a/pathvalidate/_file.py b/pathvalidate/_file.py
index <HASH>..<HASH> 100644
--- a/pathvalidate/_file.py
+++ b/pathvalidate/_file.py
@@ -25,6 +25,16 @@ from .error import (
_DEFAULT_MAX_FILENAME_LEN = 255
+class PlatformName(object):
+ """
+ Normalized platform names
+ """
+
+ LINUX = "linux"... | Add platform name normalization at initialization | thombashi_pathvalidate | train |
fb1b4ab1e368ba06710bed5b5cf271ff3375f861 | diff --git a/src/Model/Invoice/Item.php b/src/Model/Invoice/Item.php
index <HASH>..<HASH> 100644
--- a/src/Model/Invoice/Item.php
+++ b/src/Model/Invoice/Item.php
@@ -19,6 +19,7 @@ class Item extends Base
{
/**
* The Currency service
+ *
* @var \Nails\Currency\Service\Currency
*/
protec... | Added expandable field for item -> invoice | nails_module-invoice | train |
5513893df6bbd3eb06470c29e2120971202baa50 | diff --git a/src/AsyncCreatable.js b/src/AsyncCreatable.js
index <HASH>..<HASH> 100644
--- a/src/AsyncCreatable.js
+++ b/src/AsyncCreatable.js
@@ -13,6 +13,10 @@ function reduce(obj, props = {}){
const AsyncCreatable = React.createClass({
displayName: 'AsyncCreatableSelect',
+ focus () {
+ this.select.focus();
+ ... | Added .focus() to AsyncCreatable | HubSpot_react-select-plus | train |
a5f1b7494b53c17ec1237a08ddae7e7170875de0 | diff --git a/cmd/rqlited/main.go b/cmd/rqlited/main.go
index <HASH>..<HASH> 100644
--- a/cmd/rqlited/main.go
+++ b/cmd/rqlited/main.go
@@ -267,17 +267,17 @@ func startHTTPService(cfg *Config, str *store.Store, cltr *cluster.Client, credS
// startNodeMux starts the TCP mux on the given listener, which should be already... | Node TLS mux needs to use advertised Raft address | rqlite_rqlite | train |
fdd89b919c3ac717763785d5b1989d99e68809b3 | diff --git a/src/Silex/Provider/SecurityServiceProvider.php b/src/Silex/Provider/SecurityServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Silex/Provider/SecurityServiceProvider.php
+++ b/src/Silex/Provider/SecurityServiceProvider.php
@@ -137,12 +137,13 @@ class SecurityServiceProvider implements ServiceProvide... | [Security] Create a distinct service for each authentication provider
When using multiple both | silexphp_Silex | train |
57bae808ba4d8ffa94bf1b6c88403c9e9197a4b5 | diff --git a/addon/properties/relations/belongs-to.js b/addon/properties/relations/belongs-to.js
index <HASH>..<HASH> 100644
--- a/addon/properties/relations/belongs-to.js
+++ b/addon/properties/relations/belongs-to.js
@@ -32,8 +32,7 @@ export default class BelongsToRelation extends Relation {
}, true);
}
- ... | observe this.internal in hasMany only
--HG--
branch : feature/has-many-persisted | ampatspell_ember-cli-sofa | train |
b65af57a425be7d151b8e0fdc8c7cacc1fa97258 | diff --git a/src/main/java/org/jamesframework/ext/analysis/JsonConverter.java b/src/main/java/org/jamesframework/ext/analysis/JsonConverter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jamesframework/ext/analysis/JsonConverter.java
+++ b/src/main/java/org/jamesframework/ext/analysis/JsonConverter.java
@@ -1... | provided predefined JSON converter for subset solutions | hdbeukel_james-extensions | train |
07e876592b3fc2993bec85248ce868c784c42284 | diff --git a/rafthttp/sender.go b/rafthttp/sender.go
index <HASH>..<HASH> 100644
--- a/rafthttp/sender.go
+++ b/rafthttp/sender.go
@@ -153,7 +153,8 @@ func (s *sender) Send(m raftpb.Message) error {
case s.q <- data:
return nil
default:
- log.Printf("sender: reach the maximal serving to %s", s.u)
+ log.Printf(... | rafthttp: log the type of message that is dropped when sending | etcd-io_etcd | train |
b44ce11d1b8b7011c1019dbede6b91905f92e27b | diff --git a/web/web.go b/web/web.go
index <HASH>..<HASH> 100644
--- a/web/web.go
+++ b/web/web.go
@@ -666,7 +666,7 @@ func tmplFuncs(consolesPath string, opts *Options) template_text.FuncMap {
return time.Since(t) / time.Millisecond * time.Millisecond
},
"consolesPath": func() string { return consolesPath },... | Added test to check pathPrefix | prometheus_prometheus | train |
04c687bc6d068c2fa0a4a7516996fd6cf36f0b77 | diff --git a/lib/fork.js b/lib/fork.js
index <HASH>..<HASH> 100644
--- a/lib/fork.js
+++ b/lib/fork.js
@@ -32,7 +32,7 @@ module.exports = function (args) {
ps.on('error', reject);
ps.on('exit', function (code) {
- if (code > 0) {
+ if (code > 0 && code !== 143) {
reject();
} else {
resolve(tes... | Check for SIGTERM exit code | andywer_ava-ts | train |
64239321b9db84c4f3c0674bf8caff3c77f0b614 | diff --git a/lib/plugins/tag/code.js b/lib/plugins/tag/code.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/tag/code.js
+++ b/lib/plugins/tag/code.js
@@ -11,23 +11,31 @@ var rCaptionUrl = /(\S[\S\s]*)\s+(https?:\/\/)(\S+)/i;
var rCaption = /(\S[\S\s]*)/;
var rLang = /\s*lang:(\w+)/i;
var rLineNumber = /\s*line_numb... | might as well add a configuration option to enable/disable highlight all together. | hexojs_hexo | train |
621bc96e8a2bf2327c209bf0e2933a30f6c8d98d | diff --git a/uncompyle6/parsers/reducecheck/ifstmts_jump.py b/uncompyle6/parsers/reducecheck/ifstmts_jump.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/parsers/reducecheck/ifstmts_jump.py
+++ b/uncompyle6/parsers/reducecheck/ifstmts_jump.py
@@ -9,12 +9,6 @@ def ifstmts_jump(self, lhs, n, rule, ast, tokens, first, las... | Ensure offset is an int in offset test | rocky_python-uncompyle6 | train |
879ee8362d8667d02b96053f7a98ca243dd23556 | diff --git a/src/Enums/ApiDocFormatTypes.php b/src/Enums/ApiDocFormatTypes.php
index <HASH>..<HASH> 100644
--- a/src/Enums/ApiDocFormatTypes.php
+++ b/src/Enums/ApiDocFormatTypes.php
@@ -1,7 +1,7 @@
<?php
namespace DreamFactory\Core\ApiDoc\Enums;
-use DreamFactory\Library\Utility\Enums\FactoryEnum;
+use DreamFactor... | cleanup - removal of php-utils dependency | dreamfactorysoftware_df-apidoc | train |
83ea35635c208d15af3b67f005881725bdf94373 | diff --git a/lib/graphql/static_validation/rules/fragments_are_used.rb b/lib/graphql/static_validation/rules/fragments_are_used.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/static_validation/rules/fragments_are_used.rb
+++ b/lib/graphql/static_validation/rules/fragments_are_used.rb
@@ -12,7 +12,7 @@ module GraphQL
... | handle invalid fragment types in fragments are used validator | rmosolgo_graphql-ruby | train |
5907c3836e9abb00a2215794bbee9ffa5ddd8937 | diff --git a/test_jujupy.py b/test_jujupy.py
index <HASH>..<HASH> 100644
--- a/test_jujupy.py
+++ b/test_jujupy.py
@@ -418,19 +418,23 @@ class TestEnvironment(TestCase):
'Timed out waiting for agents to start in local'):
env.wait_for_started()
+ @staticmethod
+ def make_sta... | Added a helper to make status yaml. | juju_juju | train |
e2004c2dcb152bd92f723dd259b5364c13c084f3 | diff --git a/extensions/tags/migrations/2018_06_27_085300_change_tags_add_foreign_keys.php b/extensions/tags/migrations/2018_06_27_085300_change_tags_add_foreign_keys.php
index <HASH>..<HASH> 100644
--- a/extensions/tags/migrations/2018_06_27_085300_change_tags_add_foreign_keys.php
+++ b/extensions/tags/migrations/2018... | Migrations: Fix dropping foreign keys
Passing an array to dropForeign does not mean dropping multiple indices,
but rather dropping a key on multiple tables.
Passing a string means that this string will be interpreted as index
name, not as name of the indexed column. Passing an array with one
string is therefore corre... | flarum_core | train |
9cff5f74d384dd209a1fbfe4e4c64be976cc2c47 | diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -16,6 +16,7 @@
package lunarc
import (
+ "errors"
"fmt"
"log"
"net"
@@ -39,9 +40,10 @@ type Server interface {
//WebServer is a Server with a specialize Context.
type WebServer struct {
Context MongoContext... | err becomes Error. Add Done to warn done state | DamienFontaine_lunarc | train |
5597c649991ba47ff0858f32f4cd944286534dd3 | diff --git a/lib/marklogic.js b/lib/marklogic.js
index <HASH>..<HASH> 100644
--- a/lib/marklogic.js
+++ b/lib/marklogic.js
@@ -718,7 +718,12 @@ MarkLogicClient.prototype.createProxy = function createProxy(serviceDeclaration)
function initClient(client, inputParams) {
var connectionParams = {};
+ var isSSL = (inp... | #<I> - rejectUnauthorized option ignored in webpacked typescript (impacts mlxprs extension in latest VSCode on Mac) | marklogic_node-client-api | train |
ee3bfcefcea21c9061513b1d1726c70ab8a505af | diff --git a/src/Comparator/Variance/TypeIsContravariant.php b/src/Comparator/Variance/TypeIsContravariant.php
index <HASH>..<HASH> 100644
--- a/src/Comparator/Variance/TypeIsContravariant.php
+++ b/src/Comparator/Variance/TypeIsContravariant.php
@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace Roave\ApiCompare\Co... | Adding IDE hints for the reflection issues around the `Reflector` interface in `BetterReflection` | Roave_BackwardCompatibilityCheck | train |
58db5c63f077c8c736f61a4a1fbeaed271942844 | diff --git a/src/integration/server_test.go b/src/integration/server_test.go
index <HASH>..<HASH> 100644
--- a/src/integration/server_test.go
+++ b/src/integration/server_test.go
@@ -1153,6 +1153,7 @@ func (self *ServerSuite) TestContinuousQueryWithMixedGroupByOperations(c *C) {
time.Sleep(time.Second)
self.serve... | Make sure we drop the continuous query at the end of the test. | influxdata_influxdb | train |
16b3474c1fcbe55b263f4e701f38e7f4463698bd | diff --git a/djangoautoconf/auto_conf_utils.py b/djangoautoconf/auto_conf_utils.py
index <HASH>..<HASH> 100644
--- a/djangoautoconf/auto_conf_utils.py
+++ b/djangoautoconf/auto_conf_utils.py
@@ -66,6 +66,25 @@ def get_module_path(mod):
return os.path.dirname(mod.__file__)
+def get_source_filename(compiled_name... | Added executable_folder for set_settings_env. | weijia_djangoautoconf | train |
66b7769cebfbe1a40811addbe881f502464321e4 | diff --git a/lib/jsi.rb b/lib/jsi.rb
index <HASH>..<HASH> 100644
--- a/lib/jsi.rb
+++ b/lib/jsi.rb
@@ -23,8 +23,6 @@ module JSI
autoload :Arraylike, 'jsi/typelike_modules'
autoload :Schema, 'jsi/schema'
autoload :Base, 'jsi/base'
- autoload :BaseArray, 'jsi/base'
- autoload :BaseHash, 'jsi/base'
autoload ... | rm JSI::BaseHash and BaseArray; all their functionality now lives in PathedHashNode and PathedArrayNode | notEthan_jsi | train |
a0c4c5cb7846140eba5f1a732701955c8c44a0e8 | diff --git a/test/service_latency_test.go b/test/service_latency_test.go
index <HASH>..<HASH> 100644
--- a/test/service_latency_test.go
+++ b/test/service_latency_test.go
@@ -1303,6 +1303,72 @@ func TestServiceAndStreamStackOverflow(t *testing.T) {
})
}
+func TestServiceCycle(t *testing.T) {
+ t.Skip("Remove the s... | Add test with service import cycle
Not sure if this should be detected as misconfiguration or if
code need to be fixed to work properly. | nats-io_gnatsd | train |
3d3da496293ec05d076a413cb7a38905cfa9544f | diff --git a/spec/acceptance/em_http_request/em_http_request_spec.rb b/spec/acceptance/em_http_request/em_http_request_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/acceptance/em_http_request/em_http_request_spec.rb
+++ b/spec/acceptance/em_http_request/em_http_request_spec.rb
@@ -199,6 +199,11 @@ unless RUBY_PLATFORM... | add a test case for passing :file for em-http-request. | bblimke_webmock | train |
dd3662079f8b163469be248488cab53e242ae8ab | diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.js b/lib/plugins/aws/deploy/lib/checkForChanges.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/aws/deploy/lib/checkForChanges.js
+++ b/lib/plugins/aws/deploy/lib/checkForChanges.js
@@ -101,8 +101,8 @@ module.exports = {
return crypto.createHash('sha256'... | Update variable usage to ensure better readability | serverless_serverless | train |
46c64394e489b253df7d8c91b2ab6748aad15aab | diff --git a/chance.js b/chance.js
index <HASH>..<HASH> 100644
--- a/chance.js
+++ b/chance.js
@@ -1326,23 +1326,30 @@
};
Chance.prototype.states = function (options) {
- options = initOptions(options, { us_states_and_dc: true });
+ options = initOptions(options, { country: 'us', us_states_and... | support internationalisation on chance.state(s)
Fully backward compatible
Since U.S. territories were semantically partitioned, a new object has been created
(country_regions) following the same structure as other country based data
(each country has a property that contains an array of data)
Source for data: ISTAT (p... | chancejs_chancejs | train |
a1c968d9ff56e26ca18191845e6e7cb5fef0edeb | diff --git a/example_site/example/admin.py b/example_site/example/admin.py
index <HASH>..<HASH> 100644
--- a/example_site/example/admin.py
+++ b/example_site/example/admin.py
@@ -1,10 +1,11 @@
from django.contrib import admin
-from address.forms import AddressField, AddressWidget
+from address.models import AddressFie... | Adding an example test for modifying admin widgets. | furious-luke_django-address | train |
0aa8266a786d631c00224954e8be3d7b2cd26661 | diff --git a/modules/admin/ngrest/Config.php b/modules/admin/ngrest/Config.php
index <HASH>..<HASH> 100644
--- a/modules/admin/ngrest/Config.php
+++ b/modules/admin/ngrest/Config.php
@@ -55,6 +55,11 @@ class Config implements \admin\ngrest\base\ConfigInterface
return array_key_exists($pointer, $this->config);
... | added isDeletable() #<I> | luyadev_luya | train |
55b1e6bc1a40b78555e5141965cf3586ec471dd9 | diff --git a/http/eventsource.go b/http/eventsource.go
index <HASH>..<HASH> 100644
--- a/http/eventsource.go
+++ b/http/eventsource.go
@@ -23,8 +23,8 @@ type eventSource struct {
staled chan *consumer
add chan *consumer
close chan bool
- idleTimeout int
- retry int
+ idleTi... | change idle timeout and retry to time.Duration type | antage_eventsource | train |
7f64f6dfc7891bd7fcc06222e400cd28bcb9cfa5 | diff --git a/pypsa/plot.py b/pypsa/plot.py
index <HASH>..<HASH> 100644
--- a/pypsa/plot.py
+++ b/pypsa/plot.py
@@ -166,7 +166,7 @@ def plot(n, margin=None, ax=None, geomap=True, projection=None,
transform = draw_map_cartopy(n, x, y, ax, geomap, color_geomap)
x, y, z = ax.projection.transform_points(tr... | plot: fix zorder of wedges, fix boundaries to be an array | PyPSA_PyPSA | train |
0d6dd8339e02ae6fd3f4b3ac8281a0179d417c6d | diff --git a/CHANGES.rst b/CHANGES.rst
index <HASH>..<HASH> 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,6 +1,12 @@
Changelog for nextversion
=========================
+0.2.8 (unreleased)
+------------------
+
+- Outputs log when executing commands
+
+
0.2.7 (2014-01-09)
------------------
diff --git a/rels... | Outputs log when executing commands | laysakura_relshell | train |
f3456c10143f2054c878de7c7d7418e040e733f6 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -136,7 +136,8 @@ if 'py2exe' in sys.argv:
# additional modules used by snmpsimd but not seen by py2exe
for m in ('dbm', 'gdbm', 'dbhash', 'dumbdb',
- 'shelve', 'random', 'math'):
+ 'shelve... | some more Python modules not seen by py2exe registered | etingof_snmpsim | train |
9bcb7aa6c16dd2e7c919fff71644c6fa0024a8d9 | diff --git a/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java b/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java
index <HASH>..<HASH> 100644
--- a/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java
+++ b/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/J... | <I>: langtools\test\jdk\jshell\CommandCompletionTest.java fails on some windows
Summary: Ignoring non-existent default FileSystem roots.
Reviewed-by: rfield | google_error-prone-javac | train |
642999ed7aede2daab388d00d510f05efad8bfbb | diff --git a/rapidoid-utils/src/main/java/org/rapidoid/util/Metadata.java b/rapidoid-utils/src/main/java/org/rapidoid/util/Metadata.java
index <HASH>..<HASH> 100644
--- a/rapidoid-utils/src/main/java/org/rapidoid/util/Metadata.java
+++ b/rapidoid-utils/src/main/java/org/rapidoid/util/Metadata.java
@@ -57,4 +57,8 @@ pub... | Added metadata util for convenient checking if a class is annotated. | rapidoid_rapidoid | train |
fa87a4b74bc5bbd17b73e6a20709d1398d33d6ab | diff --git a/lib/multiarray.rb b/lib/multiarray.rb
index <HASH>..<HASH> 100644
--- a/lib/multiarray.rb
+++ b/lib/multiarray.rb
@@ -2,6 +2,34 @@ require 'malloc'
require 'multiarray/storage'
require 'multiarray/list'
require 'multiarray/memory'
+require 'multiarray/scalar_operation'
require 'multiarray/type'
requir... | Add test for scalar operation | wedesoft_multiarray | train |
e69b6214699b7d778143b90dc32bb0dabc0f012b | diff --git a/jaxrs/src/main/java/org/killbill/billing/jaxrs/json/OverdueConditionJson.java b/jaxrs/src/main/java/org/killbill/billing/jaxrs/json/OverdueConditionJson.java
index <HASH>..<HASH> 100644
--- a/jaxrs/src/main/java/org/killbill/billing/jaxrs/json/OverdueConditionJson.java
+++ b/jaxrs/src/main/java/org/killbil... | set timeSinceEarliestUnpaidInvoice.... null instead of set to default value | killbill_killbill | train |
b20bcc285ef29a1d9ea2f77bb0097f8cd922246a | diff --git a/asammdf/gui/widgets/tree.py b/asammdf/gui/widgets/tree.py
index <HASH>..<HASH> 100644
--- a/asammdf/gui/widgets/tree.py
+++ b/asammdf/gui/widgets/tree.py
@@ -40,49 +40,66 @@ class TreeWidget(QtWidgets.QTreeWidget):
def mouseMoveEvent(self, e):
- selected_items = self.selectedItems()
-
- ... | fix drag and drop selection from channels tree | danielhrisca_asammdf | train |
c27776425c007d2c216899caaacda8d527f798ef | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -159,31 +159,40 @@ $app->add(new Tuupola\Middleware\HttpBasicAuthentication([
## Security
-Browsers send passwords over the wire basically as cleartext. You should always use HTTPS. If the middleware detects insecure ... | Allow 'headers' as a key in 'relaxed' config key to allow https forwarding (#<I>)
* Add a test that fails because it doesn't allow forwarded https
requests even when configured to allow.
* Make the test pass by implementing the logic.
* Document the option to relax security to allow for forwarded https
* Take a cr... | tuupola_slim-basic-auth | train |
13a7a04706337300f9da7cf7e5e62453c9f1f334 | diff --git a/lib/seahorse/client/request.rb b/lib/seahorse/client/request.rb
index <HASH>..<HASH> 100644
--- a/lib/seahorse/client/request.rb
+++ b/lib/seahorse/client/request.rb
@@ -23,6 +23,7 @@ module Seahorse
def initialize(operation_name, params = {})
@operation_name = operation_name
@para... | Calling Request#send now emits a fixed list of events. | aws_aws-sdk-ruby | train |
405c0fae36a56a61c93218ab40ceb4b632553c84 | diff --git a/packages/lib/PubSub.js b/packages/lib/PubSub.js
index <HASH>..<HASH> 100644
--- a/packages/lib/PubSub.js
+++ b/packages/lib/PubSub.js
@@ -13,16 +13,18 @@
* Calling the super constructor is not required for descendants of
* lib.PubSub.
*/
+
var ctx = jsio.__env.global,
SLICE = Array.proto... | Normalize API with Node's | gameclosure_js.io | train |
8e9331770b7a4905efffa6e4317d6e236fb0b541 | diff --git a/package.json b/package.json
index <HASH>..<HASH> 100644
--- a/package.json
+++ b/package.json
@@ -55,6 +55,6 @@
"flow-bin": "0.100.0",
"mocha": "6.1.4",
"nyc": "14.1.1",
- "prettier": "1.17.1"
+ "prettier": "1.18.0"
}
}
diff --git a/src/execution/execute.js b/src/execution/execute.... | Update prettier to <I> (#<I>) | graphql_graphql-js | train |
6e945ba5da1e8874029b1560a97c69596638bed0 | diff --git a/spec/ebay_trading/fetch_token_spec.rb b/spec/ebay_trading/fetch_token_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ebay_trading/fetch_token_spec.rb
+++ b/spec/ebay_trading/fetch_token_spec.rb
@@ -44,9 +44,20 @@ describe FetchToken do
if interactive
puts 'Launching system browser...'
- ... | Launch OS specific system browser in fetch_token_spec. | altabyte_ebay_trader | train |
ccc86648c7ee7361ff8442088951e06ddfc0fe54 | diff --git a/lib/odba.rb b/lib/odba.rb
index <HASH>..<HASH> 100644
--- a/lib/odba.rb
+++ b/lib/odba.rb
@@ -11,5 +11,5 @@ require 'odba/index'
require 'odba/odba'
class Odba
- VERSION = '1.0.0'
+ VERSION = '1.0.1'
end | Updated gem Version to <I> | zdavatz_odba | train |
ed7f40e63588eaa7c3e80703aa1d73da1a8476e0 | diff --git a/retrofit-adapters/rxjava/src/main/java/retrofit/ObservableCallAdapterFactory.java b/retrofit-adapters/rxjava/src/main/java/retrofit/ObservableCallAdapterFactory.java
index <HASH>..<HASH> 100644
--- a/retrofit-adapters/rxjava/src/main/java/retrofit/ObservableCallAdapterFactory.java
+++ b/retrofit-adapters/r... | Make Result's factory methods public. | square_retrofit | train |
a053863fe08bea32941c472bc007a9a428266647 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -11,6 +11,14 @@ function Pager (pageSize, opts) {
}
Pager.prototype.updated = function (page) {
+ while (this.deduplicate && page.buffer[page.deduplicate] === this.deduplicate[page.deduplicate]) {
+ page.deduplicate++
... | dedup when updated is run as well | mafintosh_memory-pager | train |
4d26d3470dcf835f45ddbb91ee03e18972a3a7fd | diff --git a/server/src/main/java/org/openqa/selenium/server/SeleniumServer.java b/server/src/main/java/org/openqa/selenium/server/SeleniumServer.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/org/openqa/selenium/server/SeleniumServer.java
+++ b/server/src/main/java/org/openqa/selenium/server/SeleniumServe... | cruft removal
r<I> | SeleniumHQ_selenium | train |
89b78178f9409c5dcae741ef7935984bebf6604e | diff --git a/lib/cnapi.js b/lib/cnapi.js
index <HASH>..<HASH> 100644
--- a/lib/cnapi.js
+++ b/lib/cnapi.js
@@ -240,4 +240,29 @@ CNAPI.prototype.deleteVm = function (server, uuid, callback) {
+/**
+ * Runs a command on the specified server. The optional 'params' argument can
+ * contain two fields:
+ *
+ * @param... | CNAPI-<I> CommandExecute method needed in CNAPI client | joyent_node-sdc-clients | train |
4bf3749a54311cc1a7ac460d7009e3dd8f0eebd5 | diff --git a/text-serializer-legacy/src/main/java/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializerImpl.java b/text-serializer-legacy/src/main/java/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializerImpl.java
index <HASH>..<HASH> 100644
--- a/text-serializer-legacy/src/main/java/net/... | Correctly handle resets followed by more styling
Fixes #<I> | KyoriPowered_text | train |
3b403fda1480fef93db3fbc8a8bc3dce8f2d3ad7 | diff --git a/presto-main/src/main/java/com/facebook/presto/sql/planner/GroupingOperationRewriter.java b/presto-main/src/main/java/com/facebook/presto/sql/planner/GroupingOperationRewriter.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/sql/planner/GroupingOperationRewriter.java
+++ ... | Generalize grouping set rewriter
Break its dependency on Analysis and QuerySpecification node by passing
the required data directly. This is to prepare for the split between AST -> IR,
which requires getting rid of expression rewriters (AST -> AST) during planning
and replace them with AST -> IR translations. | prestodb_presto | train |
ffd883bb133438aaa10bfd11b75303a76cc238c4 | diff --git a/lib/reda/importers/eit_version_2013.py b/lib/reda/importers/eit_version_2013.py
index <HASH>..<HASH> 100644
--- a/lib/reda/importers/eit_version_2013.py
+++ b/lib/reda/importers/eit_version_2013.py
@@ -6,6 +6,7 @@ from reda.importers.eit_version_2010 import _average_swapped_current_injections
def _ext... | [eit fzj <I>] don't try to import md data for now | geophysics-ubonn_reda | train |
0c0c7b5f64b468d2c96fc04b0c160a22a2775961 | diff --git a/channel.go b/channel.go
index <HASH>..<HASH> 100644
--- a/channel.go
+++ b/channel.go
@@ -204,6 +204,12 @@ func (ch *Channel) ListenAndServe(hostPort string) error {
return ch.Serve(l)
}
+// Registrar is the base interface for registering handlers on either the base
+// Channel or the SubChannel
+type... | Address PR feedback
* Move the logic of GetSubChannel() inside subChannelMap
* Utilize getSubchannel() finding handler within subchannel
* Remove code duplication by using a Registrar interface | uber_tchannel-go | train |
e9af9bb095008c09140c3178cb5df46db2acefd0 | diff --git a/Socks/Server.php b/Socks/Server.php
index <HASH>..<HASH> 100644
--- a/Socks/Server.php
+++ b/Socks/Server.php
@@ -73,6 +73,8 @@ class Server extends SocketServer
return $reader->readByte()->then(function ($version) use ($stream, $that){
if ($version === 0x04) {
return... | Add support for SOCKS5 protocol | clue_php-socks | train |
8e0f7484c37c5d1a02ab0e1b33f8505f93312a74 | diff --git a/storage/storage_transport.go b/storage/storage_transport.go
index <HASH>..<HASH> 100644
--- a/storage/storage_transport.go
+++ b/storage/storage_transport.go
@@ -73,11 +73,11 @@ func (s storageTransport) ParseStoreReference(store storage.Store, ref string) (
}
if ref[0] == '[' {
// Ignore the store ... | Avoid using builtin "close" as a variable name
Don't use the name of a builtin ("close") as a variable name. | containers_image | train |
3eee3bf881e174187edb3d675e31adc3b4a702e8 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
# ActFramework Change Log
**1.8.8**
+* @On(async = true) not work #611
* Issue with global URL context setting #614
* Date format not applied when returned type is `DateTime[]` #610
* DateTi... | fix @On(async = true) not work #<I> | actframework_actframework | train |
7648bcd88966a3fd48dab8b0a43ad1b6dde7a331 | diff --git a/lib/rufus/sc/jobs.rb b/lib/rufus/sc/jobs.rb
index <HASH>..<HASH> 100644
--- a/lib/rufus/sc/jobs.rb
+++ b/lib/rufus/sc/jobs.rb
@@ -370,6 +370,7 @@ module Scheduler
else
Rufus.parse_duration_string(@t)
end
+ raise ArgumentError.new("cannot initialize an EveryJob with a 0.0 frequen... | Raise ArgumentError when creating an EveryJob with <I> frequency. | jmettraux_rufus-scheduler | train |
54be23aeb72bac1bc6de9cd0ca85814463b944c9 | diff --git a/lave.js b/lave.js
index <HASH>..<HASH> 100644
--- a/lave.js
+++ b/lave.js
@@ -47,6 +47,13 @@ function isNativeFunction(fn) {
return length === source.length
}
+function Identifiers() { this.id = 0 }
+Identifiers.prototype.next = function() {
+ var id = (this.id++).toString(36)
+ try { Function(`var... | find shortest <I>-radix ids | jed_lave | train |
add60c3e54f569299bd09ae1f532b468a1297338 | diff --git a/src/PHPMailer.php b/src/PHPMailer.php
index <HASH>..<HASH> 100644
--- a/src/PHPMailer.php
+++ b/src/PHPMailer.php
@@ -2372,16 +2372,18 @@ class PHPMailer
*/
protected function generateId()
{
- $len = 23;
+ $len = 32; //32 bytes = 256 bits
if (function_exists('random_b... | Generate shorter IDs (with more entropy) to work around iCloud RFC non-compliance, fixes #<I> | PHPMailer_PHPMailer | train |
2c9b54823c06da9901883ed950409af6336d2d74 | diff --git a/client/cmd/cas/lib/download.go b/client/cmd/cas/lib/download.go
index <HASH>..<HASH> 100644
--- a/client/cmd/cas/lib/download.go
+++ b/client/cmd/cas/lib/download.go
@@ -87,6 +87,28 @@ func (r *downloadRun) parse(a subcommands.Application, args []string) error {
return nil
}
+func createDirectories(ou... | [cas] extract directory creation to separated function
This is for
<URL> | luci_luci-go | train |
985a8f832f19d598afcfb9e4d87b8d54767c4965 | diff --git a/raiden/tests/smart_contracts/test_decoder_netting_channel.py b/raiden/tests/smart_contracts/test_decoder_netting_channel.py
index <HASH>..<HASH> 100644
--- a/raiden/tests/smart_contracts/test_decoder_netting_channel.py
+++ b/raiden/tests/smart_contracts/test_decoder_netting_channel.py
@@ -4,13 +4,10 @@ imp... | Test for decoding of a RefundTransfer | raiden-network_raiden | train |
f1df5f74699a152d8dc2cac8e4dcf80a1523ca99 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,8 @@
from distutils.core import setup
setup(name='dshelpers',
version='1.3.0',
- description="Provides some helper functions used by the ScraperWiki Data Services team.",
- long_description="Provides... | Rename ScraperWiki to Sensible Code in README | scraperwiki_data-services-helpers | train |
ef3379a4800a47da4d5bcd5d68e637a47bc531a1 | diff --git a/lib/utils.js b/lib/utils.js
index <HASH>..<HASH> 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -151,7 +151,7 @@ module.exports = {
// by accident, eg: from calling values.map(utils.prepareValue)
return prepareValue(value)
},
- normalizeQueryConfig: normalizeQueryConfig,
- postgresMd5Passwo... | Normalize export in utils to use short form | brianc_node-postgres | train |
f969fde27adb6a941085b655262010924110a90e | diff --git a/acceptancetests/assess_recovery.py b/acceptancetests/assess_recovery.py
index <HASH>..<HASH> 100755
--- a/acceptancetests/assess_recovery.py
+++ b/acceptancetests/assess_recovery.py
@@ -32,16 +32,6 @@ from utility import (
until_timeout,
)
-#
-# The following acceptance test has been modifed to rem... | Enable HA backup
The following code allows HA backup, so that we can test that we
can still backup in HA mode. Currently you can't restore in HA
mode without first pulling machines out of the replicaset and
then allowing restoring.
The commit tests pulling out of HA mode so that we have a tar file
backup to do so. | juju_juju | train |
13316f6263acfa01073b418f8fc00eb06f9efce3 | diff --git a/src/frontend/org/voltdb/export/ExportDataSource.java b/src/frontend/org/voltdb/export/ExportDataSource.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/export/ExportDataSource.java
+++ b/src/frontend/org/voltdb/export/ExportDataSource.java
@@ -439,15 +439,16 @@ public class ExportDataSource i... | ENG-<I>: Fix off-heap memory for acks. | VoltDB_voltdb | train |
a98a206dd2e5c99d63896d505b8c6af4fc18350d | diff --git a/cmd/shell_test.go b/cmd/shell_test.go
index <HASH>..<HASH> 100644
--- a/cmd/shell_test.go
+++ b/cmd/shell_test.go
@@ -145,7 +145,7 @@ func TestLoadCert(t *testing.T) {
"open ../does/not/exist: no such file or directory",
},
{
- "../test/test-ca.key",
+ "./testdata/key.pem",
"Invalid certi... | Remove references to test-ca.pem. (#<I>)
shell_test.go and publisher_test.go had unnecessary references to
../test/test-ca.pem. This change makes them a little more self-contained.
Note: ca/ca_test.go still depends on test-ca.pem, but removing the dependency
turns out to be a little more complicated due to hardco... | letsencrypt_boulder | train |
b7d25056a7e32c2f4a17603a38e55658ceef0078 | diff --git a/core/src/main/java/cucumber/runtime/model/CucumberScenarioOutline.java b/core/src/main/java/cucumber/runtime/model/CucumberScenarioOutline.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/cucumber/runtime/model/CucumberScenarioOutline.java
+++ b/core/src/main/java/cucumber/runtime/model/CucumberSc... | Allow emtpy doc string and data table entries from outlines
After token replacement for instantiated scenarios from scenario
outlines, the doc string and data table entries are allowed to be
emtpy. The step itself on the other hand, must be non-empty. | cucumber_cucumber-jvm | train |
3a5b2bf2fef882e0ae812f6c7ff508d95456e31f | diff --git a/internal/service/dynamodb/table_test.go b/internal/service/dynamodb/table_test.go
index <HASH>..<HASH> 100644
--- a/internal/service/dynamodb/table_test.go
+++ b/internal/service/dynamodb/table_test.go
@@ -332,7 +332,7 @@ func TestAccDynamoDBTable_basic(t *testing.T) {
"type": "S",
}),
r... | If never specified, table_class is empty. | terraform-providers_terraform-provider-aws | train |
a7e08e2a3266efa9c82eb859e7141c798fcf07ae | diff --git a/src/client/index.js b/src/client/index.js
index <HASH>..<HASH> 100644
--- a/src/client/index.js
+++ b/src/client/index.js
@@ -71,7 +71,12 @@ const SessionContext = createContext()
*/
export function useSession (session) {
const context = useContext(SessionContext)
- const [data, setData] = useState(... | fix: make sure useSession populates session correctly (#<I>) | iaincollins_next-auth | train |
c8df3440135e66ebccd2acd0806751fc55746528 | diff --git a/extension-impl/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServer.java b/extension-impl/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServer.java
index <HASH>..<HASH> 100644
--- a/extension-impl/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServer.jav... | Fix bolt server started failed but not throw exception. (#<I>) | alipay_sofa-rpc | train |
41b2d37c47df85b75c179b8be3d9700c42df54fa | diff --git a/scapy/config.py b/scapy/config.py
index <HASH>..<HASH> 100644
--- a/scapy/config.py
+++ b/scapy/config.py
@@ -315,6 +315,7 @@ extensions_paths: path or list of paths where extensions are to be looked for
promisc = 1
sniff_promisc = 1
raw_layer = None
+ raw_summary = False
default_l2 ... | Added Raw.mysummary() that can be configured with conf.raw_summary
Either False, or True or a function to be applied to Raw.load | secdev_scapy | train |
b9f9e46f2fc6fa57addd19a5ce0ed65547c9b6c1 | diff --git a/comments-bundle/contao/dca/tl_comments.php b/comments-bundle/contao/dca/tl_comments.php
index <HASH>..<HASH> 100644
--- a/comments-bundle/contao/dca/tl_comments.php
+++ b/comments-bundle/contao/dca/tl_comments.php
@@ -578,7 +578,7 @@ class tl_comments extends Backend
{
if (strlen(Input::get('tid')))
... | [Comments] Always pass a DC object in the `toggleVisibility` callback (see #<I>) | contao_contao | train |
a0bc41f9fa2e60f5c879d9f5fd2c18be6a0cd4a1 | diff --git a/tempora/tests/test_schedule.py b/tempora/tests/test_schedule.py
index <HASH>..<HASH> 100644
--- a/tempora/tests/test_schedule.py
+++ b/tempora/tests/test_schedule.py
@@ -131,7 +131,7 @@ class TestScheduler:
def test_periodic_command(self):
sched = schedule.InvokeScheduler()
target = ... | Use 'after' to construct PeriodicCommand with a more predictable delay. | jaraco_tempora | train |
daf52bf91997ca7aaf51b40da0d6ea439e0cb895 | diff --git a/modules/wyc/src/wyc/io/NewWhileyFileParser.java b/modules/wyc/src/wyc/io/NewWhileyFileParser.java
index <HASH>..<HASH> 100644
--- a/modules/wyc/src/wyc/io/NewWhileyFileParser.java
+++ b/modules/wyc/src/wyc/io/NewWhileyFileParser.java
@@ -841,13 +841,13 @@ public class NewWhileyFileParser {
return new E... | WyC: a few more little tweaks. | Whiley_WhileyCompiler | train |
1d85d0cc0ef117e5df34b34079941ebd2ad9c8e9 | diff --git a/kite-data/kite-data-hbase/src/main/java/org/kitesdk/data/hbase/avro/AvroUtils.java b/kite-data/kite-data-hbase/src/main/java/org/kitesdk/data/hbase/avro/AvroUtils.java
index <HASH>..<HASH> 100644
--- a/kite-data/kite-data-hbase/src/main/java/org/kitesdk/data/hbase/avro/AvroUtils.java
+++ b/kite-data/kite-d... | CDK-<I>: Fix avro schema comparison bug.
This adds a check that the number of sub-fields in a record matches.
Otherwise, when fields are added at the end of the record, equals may
return incorrectly depending on which schema is the left operand. | kite-sdk_kite | train |
5991a5f9629c4a58061d21ecd9a1b89009141264 | diff --git a/ViewRenderer.php b/ViewRenderer.php
index <HASH>..<HASH> 100644
--- a/ViewRenderer.php
+++ b/ViewRenderer.php
@@ -111,11 +111,6 @@ class ViewRenderer extends BaseViewRenderer
$this->addExtensions($this->extensions);
}
- // Change lexer syntax
- if (!empty($this->lexerO... | Fixes Twig lexerOptions throwing exception (#<I>) and adds test for lexerOptions | yiisoft_yii2-twig | train |
ccff0e6ea5cfd9cd9b18e42ea0008f10d2e83c08 | diff --git a/go/cmd/vtctld/vtctld.go b/go/cmd/vtctld/vtctld.go
index <HASH>..<HASH> 100644
--- a/go/cmd/vtctld/vtctld.go
+++ b/go/cmd/vtctld/vtctld.go
@@ -302,21 +302,19 @@ func main() {
})
// Serve the static files for the vtctld web app.
- if *webDir != "" {
- http.HandleFunc("/app/", func(w http.ResponseWrite... | vtctld: Always handle /app/ path.
Now that we redirect / to /app/, we need to always handle /app/.
Otherwise, it leads to a redirect loop when /app/ is not handled,
such as if -web_dir is not specified. | vitessio_vitess | train |
ed74f1b0aef33904dcb1644035f50377e334c74d | diff --git a/galpy/potential_src/interpRZPotential.py b/galpy/potential_src/interpRZPotential.py
index <HASH>..<HASH> 100644
--- a/galpy/potential_src/interpRZPotential.py
+++ b/galpy/potential_src/interpRZPotential.py
@@ -194,10 +194,16 @@ class interpRZPotential(Potential):
else:
self._e... | try to fix epifreq for extreme dblexps | jobovy_galpy | train |
7dd95f5bbf25efd2710146b696ce4b80e3c8072e | diff --git a/quickbooks/client.py b/quickbooks/client.py
index <HASH>..<HASH> 100644
--- a/quickbooks/client.py
+++ b/quickbooks/client.py
@@ -262,7 +262,7 @@ class QuickBooks(object):
'Connection': 'close'
})
- binary_data = str(base64.b64encode(attachment.read()))
+ ... | Update client.py uploads to be Python3 compatible
Updates the attachment encoding to be Python-version agnostic | sidecars_python-quickbooks | train |
e9d541841d081f5a428568ed46e054a12fafcb64 | diff --git a/application/delete_machines.py b/application/delete_machines.py
index <HASH>..<HASH> 100755
--- a/application/delete_machines.py
+++ b/application/delete_machines.py
@@ -47,7 +47,8 @@ def destroyNodes(aFilter):
try:
machine.destroy()
machines.append(machine)
- exce... | debug around unable to delete machines. | lwoydziak_dynamic_machine | train |
cbdc5340a71bee1f4a5731cabd03c9aab6fa242b | diff --git a/chess/xboard.py b/chess/xboard.py
index <HASH>..<HASH> 100644
--- a/chess/xboard.py
+++ b/chess/xboard.py
@@ -243,7 +243,7 @@ class FeatureMap(object):
"debug": 0,
"memory": 0,
"smp": 0,
- "egt": 0,
+ "egt": None,
"option": OptionMap... | Added name, rating, computer and egtpath functions | niklasf_python-chess | train |
108f0cab822308747c57fc14d6315009f443f701 | diff --git a/alpaca_trade_api/__init__.py b/alpaca_trade_api/__init__.py
index <HASH>..<HASH> 100644
--- a/alpaca_trade_api/__init__.py
+++ b/alpaca_trade_api/__init__.py
@@ -1,4 +1,4 @@
from .rest import REST # noqa
from .stream2 import StreamConn # noqa
-__version__ = '0.16'
+__version__ = '0.17' | Bumpt to <I> | alpacahq_alpaca-trade-api-python | train |
d39c3be779a42a628e0f6f7442fad83af38efb11 | diff --git a/src/Symfony/Component/HttpFoundation/Response.php b/src/Symfony/Component/HttpFoundation/Response.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpFoundation/Response.php
+++ b/src/Symfony/Component/HttpFoundation/Response.php
@@ -101,16 +101,16 @@ class Response
$this->fixContentTy... | [HttpFoundation] replaced LF by CRLF as per the spec | symfony_symfony | train |
ec4a85cc89fb47762690fad69d694ef93dac5cc5 | diff --git a/src/2D.js b/src/2D.js
index <HASH>..<HASH> 100644
--- a/src/2D.js
+++ b/src/2D.js
@@ -492,14 +492,25 @@ Crafty.c("gravity", {
this._gy = 0; //reset change in y
}
- var obj, hit = false,
- q = Crafty.map.search(this.pos()),
- i = 0, l = q.length;
-
+ var obj, hit = false, pos = this.pos(),... | Fix gravity properly this time.
(Adding 1 to the y value, to please map.search()) | craftyjs_Crafty | train |
990df4ed5bce46cf7205f8bdcf3cb7b9a8b9e565 | diff --git a/packages/table/src/table-column.js b/packages/table/src/table-column.js
index <HASH>..<HASH> 100644
--- a/packages/table/src/table-column.js
+++ b/packages/table/src/table-column.js
@@ -290,7 +290,7 @@ export default {
}
return _self.showOverflowTooltip || _self.showTooltipWhenOverflow
- ... | Table: fix table column width bug in safari & hide shadow of fixed when scrollX is false (#<I>) | ElemeFE_element | train |
0005ad3711597c8aa371a38413150ad223ea1671 | diff --git a/lib/sugarcrm/session.rb b/lib/sugarcrm/session.rb
index <HASH>..<HASH> 100644
--- a/lib/sugarcrm/session.rb
+++ b/lib/sugarcrm/session.rb
@@ -102,10 +102,11 @@ module SugarCRM; class Session
end
# load credentials from file, and (re)connect to SugarCRM
- def load_config(path)
+ def load_config(... | makes the tests more independent from the sugarCRM
now the tests work with SugarCRM servers other than <I> and
accepts admin users with other usernames than admin | chicks_sugarcrm | train |
4b540287e246a8635f84eb69dd8ea8dae0115357 | diff --git a/mechanicalsoup/browser.py b/mechanicalsoup/browser.py
index <HASH>..<HASH> 100644
--- a/mechanicalsoup/browser.py
+++ b/mechanicalsoup/browser.py
@@ -77,6 +77,10 @@ class Browser(object):
"""Straightforward wrapper around `requests.Session.request
<http://docs.python-requests.org/en/maste... | browser.py: add some method return types
Document all the return types for methods that return a
requests.Response with a soup-attribute attached to it. | MechanicalSoup_MechanicalSoup | train |
68e9ecaa07e5922610996931d31075ebbcc707ba | diff --git a/twarc/client.py b/twarc/client.py
index <HASH>..<HASH> 100644
--- a/twarc/client.py
+++ b/twarc/client.py
@@ -836,7 +836,9 @@ class Twarc(object):
else:
raise e
else:
- raise RuntimeError('Incomplete credentials provided.')
+ print('Incom... | Provide getting started message to client on first run.
Provide message to client on getting started when credentials
have not yet been supplied. Previously, a stack trace was shown
attributing the exception/error that was invoked. This fix
makes the output when getting started more user friendly and
gives the user an... | DocNow_twarc | train |
dde3d644a2ef5b32fd1d0cfadabc05c6828d76b6 | diff --git a/src/cli/commands/program.js b/src/cli/commands/program.js
index <HASH>..<HASH> 100644
--- a/src/cli/commands/program.js
+++ b/src/cli/commands/program.js
@@ -25,7 +25,9 @@ function lookupFirmwareBundleForHardwareVersion(hardwareVersion) {
let bundle = []
for (let filename of fs.readdirSync(bundleDi... | cli: make sure firmware bundle doesn't include dotfiles | PunchThrough_bean-sdk-node | train |
4dba9ac12fe022d5a123ece5b7c7e4239a916b12 | diff --git a/tests/test_vts.py b/tests/test_vts.py
index <HASH>..<HASH> 100644
--- a/tests/test_vts.py
+++ b/tests/test_vts.py
@@ -20,6 +20,7 @@ import logging
from unittest import TestCase
from unittest.mock import Mock
+from collections import OrderedDict
from ospd.errors import OspdError
from ospd.vts import V... | Use an OrderedDict in test to ensure the order of the vts for the hash calculation | greenbone_ospd | train |
6890d73a4aa18bb803a357002f92f26e9193a7a2 | diff --git a/lib/motion/RMXEventManager.rb b/lib/motion/RMXEventManager.rb
index <HASH>..<HASH> 100644
--- a/lib/motion/RMXEventManager.rb
+++ b/lib/motion/RMXEventManager.rb
@@ -20,7 +20,7 @@
# `eventsSignal` is a rac property observer on `events`
#
# `enableRefresh` will start listening and buffering the following... | rework RMXEventManager, now maintains status and granted accessors | joenoon_rmx | train |
a62e190a2237ea3cdad2cfbbaf20082de3d6c4c4 | diff --git a/module/Image/public/scripts/zork/paragraph/dashboard/image.js b/module/Image/public/scripts/zork/paragraph/dashboard/image.js
index <HASH>..<HASH> 100644
--- a/module/Image/public/scripts/zork/paragraph/dashboard/image.js
+++ b/module/Image/public/scripts/zork/paragraph/dashboard/image.js
@@ -39,12 +39,13 ... | image paragraph: fix caption edit on-the-fly | webriq_core | train |
6290e9b343f6a0410da195d93b3ad5908426dcd6 | diff --git a/Readme.md b/Readme.md
index <HASH>..<HASH> 100644
--- a/Readme.md
+++ b/Readme.md
@@ -48,7 +48,7 @@ See [the documentation](http://rubydoc.info/gems/foursquare2/frames) for a list
#### Search tips from a user (optionally filter a user's tips based on some term)
- client.user_tips_by_text(:user_id... | Making tests pass and moving to valid API calls. | mattmueller_foursquare2 | train |
d9162a8dec31c63f03c0cea1985aca6a8ba7a942 | diff --git a/src/NukaCode/Menu/Menu.php b/src/NukaCode/Menu/Menu.php
index <HASH>..<HASH> 100644
--- a/src/NukaCode/Menu/Menu.php
+++ b/src/NukaCode/Menu/Menu.php
@@ -41,7 +41,7 @@ class Menu {
$dropDown = new MenuDropDown($this);
$dropDown->setName($name);
- $this->dropDowns->add($dropDown);... | Added drop down menus and filtering callback to menu link | JumpGateio_Menu | train |
0abcbc382efb86541b9ddcf33bf4ea4f25f8f69c | diff --git a/.eslintrc b/.eslintrc
index <HASH>..<HASH> 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -5,8 +5,5 @@
"quotes": [2, "single"],
"consistent-return": 0,
"no-console": 0
- },
- "globals": {
- "console": true
}
}
diff --git a/src/components/index.js b/src/components/index.js
index <HASH>..<... | Remove global 'console' ignore from lint rules. | philcockfield_ui-harness | train |
22763cc7e338989700708e808fb6fbe012bccec9 | diff --git a/lib/flickr/object/attribute_locations/photo.rb b/lib/flickr/object/attribute_locations/photo.rb
index <HASH>..<HASH> 100644
--- a/lib/flickr/object/attribute_locations/photo.rb
+++ b/lib/flickr/object/attribute_locations/photo.rb
@@ -129,7 +129,7 @@ module Flickr
@attributes["sizes"] && @att... | Generate photos' source URLs from info
Fixes #5 | janko_flickr-objects | train |
c0e92660b5d7ea0d272d0e715502f86fd20d1689 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -494,6 +494,7 @@ window.CodeMirror = (function() {
else intactLines += range.to - range.from;
}
if (intactLines == to - from && from == display.showingFrom && to == display.... | Add a cleaner way to force a display update without changed lines
Issue #<I> | codemirror_CodeMirror | train |
741480d6ef2c2a3f9b73d871302f8b41ba608998 | diff --git a/sagui.config.js b/sagui.config.js
index <HASH>..<HASH> 100644
--- a/sagui.config.js
+++ b/sagui.config.js
@@ -3,5 +3,13 @@
* see: http://sagui.js.org/
*/
module.exports = {
- libraries: ['index', 'deprecated', 'namespacedDisplayName', 'overridable', 'themeable', 'uncontrolled']
+ libraries: [
+ '... | Add notifyOnLowFPS to 🐒 config | klarna_higher-order-components | train |
4850ab65c433a53cffaf97f0e7066c69c6bf2e7a | diff --git a/devrant.go b/devrant.go
index <HASH>..<HASH> 100644
--- a/devrant.go
+++ b/devrant.go
@@ -40,6 +40,9 @@ func (c *Client) Rants(sort string, limit int, skip int) ([]RantModel, error) {
}
var data RantsResponse
json.NewDecoder(res.Body).Decode(&data)
+ if !data.Success && data.Error != "" {
+ return n... | Handle 'success' param of the api | jayeshsolanki93_devgorant | train |
644d932fb4daf84bec949b66e9210e9ac795faa1 | diff --git a/waliki/attachments/views.py b/waliki/attachments/views.py
index <HASH>..<HASH> 100644
--- a/waliki/attachments/views.py
+++ b/waliki/attachments/views.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import json
import imghdr
+import posixpath
from django.shortcuts import render, get_object_or_404
from djan... | Make attachments work even if their filenames overlap at the end. | mgaitan_waliki | train |
9f507feccddeeabfbf307d20ecf4585269bc3cea | diff --git a/tests/Http/Middleware/RateLimitTest.php b/tests/Http/Middleware/RateLimitTest.php
index <HASH>..<HASH> 100644
--- a/tests/Http/Middleware/RateLimitTest.php
+++ b/tests/Http/Middleware/RateLimitTest.php
@@ -162,8 +162,8 @@ class RateLimitTest extends TestCase
$this->assertArrayHasKey('x-ratelimit-l... | fix: cast to int for correct assertSame result | dingo_api | train |
edcfaf8220a39804e5556d3ba48ed900f47c7b77 | diff --git a/bika/lims/browser/js/ar_add.js b/bika/lims/browser/js/ar_add.js
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/js/ar_add.js
+++ b/bika/lims/browser/js/ar_add.js
@@ -1343,6 +1343,10 @@ function fill_column(data) {
}
}
+function expand_default_categories() {
+ $("th.prefill").click();
+}
+
$(do... | reapply e4f<I>de (LIMS-<I>) | senaite_senaite.core | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.