hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
0d43f983c85a0aa12160f6e1a229dfa41304ab38 | diff --git a/src/sap.ui.mdc/src/sap/ui/mdc/table/Column.js b/src/sap.ui.mdc/src/sap/ui/mdc/table/Column.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.mdc/src/sap/ui/mdc/table/Column.js
+++ b/src/sap.ui.mdc/src/sap/ui/mdc/table/Column.js
@@ -68,10 +68,6 @@ sap.ui.define([
type: "int",
defaultValue: -1
... | [INTERNAL] Column: Delete deprecated property "dataProperties"
Has been replaced with "dataProperty".
Change-Id: I<I>f<I>d<I>a6b<I>fdc<I>c<I>aa | SAP_openui5 | train |
5389620965dc0ed335b3c0e415008c605052eeba | diff --git a/src/Url.php b/src/Url.php
index <HASH>..<HASH> 100644
--- a/src/Url.php
+++ b/src/Url.php
@@ -84,21 +84,31 @@ class Url extends ComponentCollection implements Stringable
if (is_string($source)) {
$i = 0;
- // Fix beginning-slashes issue that falsifying parse_url();
+ ... | Url: fix __construct() [colon character issue]. | froq_froq-http | train |
95dc341d39e5fe3b165389fb1324329c0e98351b | diff --git a/visidata/movement.py b/visidata/movement.py
index <HASH>..<HASH> 100644
--- a/visidata/movement.py
+++ b/visidata/movement.py
@@ -20,8 +20,8 @@ Sheet.addCommand('g?', 'searchr-cols', 'vd.moveRegex(sheet, regex=input("g?", ty
Sheet.addCommand('<', 'prev-value', 'moveToNextRow(lambda row,sheet=sheet,col=c... | [bugfix] moveToNextRow with {/} | saulpw_visidata | train |
3dff927fb8e74c03f6bca54810504e8edfd71e1b | diff --git a/usb/core.py b/usb/core.py
index <HASH>..<HASH> 100644
--- a/usb/core.py
+++ b/usb/core.py
@@ -836,8 +836,7 @@ def find(find_all=False, backend = None, custom_match = None, **args):
def device_iter(k, v):
for dev in backend.enumerate_devices():
d = Device(dev, backend)
- ... | Changed order of matching in usb.core.find(..)
Previous the custom_match was tested before any **args matching, this
resulted in unwanted behavior when the custom_match had to perform
a action towards the usb device the required permission that was not
necessary available for all usb devices. | pyusb_pyusb | train |
a78031feaf37b86c225ae9f4da37c155b4fbffda | diff --git a/src/collectors/elasticsearch/elasticsearch.py b/src/collectors/elasticsearch/elasticsearch.py
index <HASH>..<HASH> 100755
--- a/src/collectors/elasticsearch/elasticsearch.py
+++ b/src/collectors/elasticsearch/elasticsearch.py
@@ -14,6 +14,7 @@ parameter the instance alias will be appended to the
"""
im... | Add Basic/Shield auth to elasticsearch collector | python-diamond_Diamond | train |
e5db00c5d73e4247435a854eeb3bb245daad110c | diff --git a/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/util/jdbc/cleaner/WorkspaceDBCleaner.java b/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/util/jdbc/cleaner/WorkspaceDBCleaner.java
index <HASH>..<HASH> 100644
--- a/exo.jcr.component.core/src/main/java/org/exop... | EXOJCR-<I> : The problem with portability repository backup created on OS Windows to OS Linux was fixed. | exoplatform_jcr | train |
58dd41f3b183e539b96fcb5a483f0a38066d908e | diff --git a/config/interpolate_funcs.go b/config/interpolate_funcs.go
index <HASH>..<HASH> 100644
--- a/config/interpolate_funcs.go
+++ b/config/interpolate_funcs.go
@@ -69,6 +69,7 @@ func Funcs() map[string]ast.Function {
"join": interpolationFuncJoin(),
"jsonencode": interpolationFuncJSONEncode(),
... | core: Add list() interpolation function
The list() interpolation function provides a way to add support for list
literals (of strings) to HIL without having to invent new syntax for it
and modify the HIL parser.
It presents as a function, thus:
- list() -> []
- list("a") -> ["a"]
- list("a", "b") -> ["a"... | hashicorp_terraform | train |
2c38943052a9354dece4b1fc5d586cec64656906 | diff --git a/genty/genty_dataset.py b/genty/genty_dataset.py
index <HASH>..<HASH> 100644
--- a/genty/genty_dataset.py
+++ b/genty/genty_dataset.py
@@ -69,6 +69,13 @@ def genty_dataset(*args, **kwargs):
def test_function(a, b)
...
+ Finally, datasets can be chained. Useful for example if there... | @genty_dataset is now chainable.
Can specifiy multiple @genty_dataset decorators on a method.
Various use cases. Allows for more flexible organization of
test cases. And there's a plan for a "defered" style of
datasets, where the actual params for the test case aren't
created until the test is called, as opposed to wh... | box_genty | train |
058e06095389c8834e0ae38d02bc95358d083230 | diff --git a/molgenis-core-ui/src/main/resources/js/molgenis.js b/molgenis-core-ui/src/main/resources/js/molgenis.js
index <HASH>..<HASH> 100644
--- a/molgenis-core-ui/src/main/resources/js/molgenis.js
+++ b/molgenis-core-ui/src/main/resources/js/molgenis.js
@@ -1043,6 +1043,7 @@ $(function() {
// focus first inpu... | Fix #<I> Settings panel can't be reopened after cancel/close | molgenis_molgenis | train |
9153da2ae797cf127e208fb5eb8f87eea62a1f1d | diff --git a/tasks/writefile.js b/tasks/writefile.js
index <HASH>..<HASH> 100644
--- a/tasks/writefile.js
+++ b/tasks/writefile.js
@@ -8,9 +8,10 @@
module.exports = function (grunt) {
'use strict';
+ var chalk = require('chalk');
var fs = require('fs');
var handlebars = require('handlebars');
- ... | Fixed empty destination name if filename has no file extension. | lunsdorf_grunt-writefile | train |
7fb1325b16d3672452927696fd880ab5597432b7 | diff --git a/wordcloud/wordcloud.py b/wordcloud/wordcloud.py
index <HASH>..<HASH> 100644
--- a/wordcloud/wordcloud.py
+++ b/wordcloud/wordcloud.py
@@ -407,8 +407,13 @@ class WordCloud(object):
try:
font_size = int(2 * sizes[0] * sizes[1]
/ (siz... | Added error message for very small images | amueller_word_cloud | train |
d215b72a8392de43108795a03ad681143c78b7f5 | diff --git a/explorer/explorerroutes.go b/explorer/explorerroutes.go
index <HASH>..<HASH> 100644
--- a/explorer/explorerroutes.go
+++ b/explorer/explorerroutes.go
@@ -1814,38 +1814,19 @@ func (exp *explorerUI) ProposalPage(w http.ResponseWriter, r *http.Request) {
exp.StatusPage(w, defaultErrorCode, "the proposal to... | gov/proposal: Correct proposals remaining time
* Fix the proposals remaining time display
* Modify the language used on an authorized vote status proposal | decred_dcrdata | train |
94ce451e6e9f856813f56c5102e5db7d9766d716 | diff --git a/actionview/lib/action_view/helpers/tags/date_select.rb b/actionview/lib/action_view/helpers/tags/date_select.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/helpers/tags/date_select.rb
+++ b/actionview/lib/action_view/helpers/tags/date_select.rb
@@ -58,7 +58,7 @@ module ActionView
... | Time#[:year, :month, :day, :hour, :min, :sec] are public methods | rails_rails | train |
694b625c92c764621532dba20cbf943302b52d5a | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100644
--- a/src/core.js
+++ b/src/core.js
@@ -306,7 +306,7 @@ jQuery.fn.init.prototype = jQuery.fn;
jQuery.extend = jQuery.fn.extend = function() {
// copy reference to target object
- var target = arguments[0] || {}, i = 1, length = arguments.length, de... | Ensured that arrays are not considered same as plain object on deep extending. Fixes #<I>. | jquery_jquery | train |
a981cac245f04d917073745894925944a7a008ed | diff --git a/lib/flor/executor.rb b/lib/flor/executor.rb
index <HASH>..<HASH> 100644
--- a/lib/flor/executor.rb
+++ b/lib/flor/executor.rb
@@ -220,9 +220,9 @@ module Flor
#
class Executor
- def self.instructions
+ def self.procedures
- @@instructions ||= {}
+ @@procedures ||= {}
end
en... | rename "instructions" in Executor | floraison_flor | train |
3332ad02e0ce689c41179a1822dd0b37f113d3e6 | diff --git a/salt/client/mixins.py b/salt/client/mixins.py
index <HASH>..<HASH> 100644
--- a/salt/client/mixins.py
+++ b/salt/client/mixins.py
@@ -72,7 +72,7 @@ class ClientFuncsDict(collections.MutableMapping):
}
pub_data = {}
# pull out pub_data if you have it
- ... | Fix botched py3 compat change | saltstack_salt | train |
6c0b3723e9bec25dd32b65ae6c69b6f5611b1f47 | diff --git a/test/collection_test.rb b/test/collection_test.rb
index <HASH>..<HASH> 100644
--- a/test/collection_test.rb
+++ b/test/collection_test.rb
@@ -546,6 +546,19 @@ class TestCollection < Test::Unit::TestCase
@@test.map_reduce(m, r, :raw => true, :out => {:inline => 1})
assert res["results"]
... | Adding test for the :out => {:db …} key
Forgot to add the test in the last commit. | mongodb_mongo-ruby-driver | train |
fe59452ef3ba656dd76a3545da693c9f724de1d3 | diff --git a/motion/ruby_motion_query/event.rb b/motion/ruby_motion_query/event.rb
index <HASH>..<HASH> 100644
--- a/motion/ruby_motion_query/event.rb
+++ b/motion/ruby_motion_query/event.rb
@@ -52,6 +52,14 @@ module RubyMotionQuery
o.rotation = opts[:rotation] if opts.include?(:rotation)
o.scale ... | Added directional swiping events. | infinitered_rmq | train |
c66158102ea786086abae5220e8f7e538bd76f8f | diff --git a/lang/en_utf8/autotranslate.php b/lang/en_utf8/autotranslate.php
index <HASH>..<HASH> 100644
--- a/lang/en_utf8/autotranslate.php
+++ b/lang/en_utf8/autotranslate.php
@@ -4,5 +4,6 @@ $string['autotranslate'] = 'Automatically translate content';
$string['configautotranslate'] = 'This is a prototype automati... | MDL-<I> Towards improved translation | moodle_moodle | train |
bfe7ac0fcf48d089e5c144ae4959392bd5257456 | diff --git a/belpy/biopax/biopax_to_pysb.py b/belpy/biopax/biopax_to_pysb.py
index <HASH>..<HASH> 100644
--- a/belpy/biopax/biopax_to_pysb.py
+++ b/belpy/biopax/biopax_to_pysb.py
@@ -1,7 +1,6 @@
import os
import re
import sys
-import ipdb
import warnings
from pysb import *
from pysb import ReactionPattern, Comple... | Removed other spurious imports of ipdb
Were breaking the travis build. | sorgerlab_indra | train |
de342833ef3b298934eea46dd60845f4762906f0 | diff --git a/lib/fernet/verifier.rb b/lib/fernet/verifier.rb
index <HASH>..<HASH> 100644
--- a/lib/fernet/verifier.rb
+++ b/lib/fernet/verifier.rb
@@ -59,7 +59,7 @@ module Fernet
end
def deconstruct
- version = @token[0].unpack("C").first
+ version = @token[0].chr.unpack("C").first
if versi... | Fix <I> unpacking of version | fernet_fernet-rb | train |
3361c3c479adc29fb0ad2ec55f0a451d2b46513d | diff --git a/libraries/joomla/database/database/mysqliquery.php b/libraries/joomla/database/database/mysqliquery.php
index <HASH>..<HASH> 100644
--- a/libraries/joomla/database/database/mysqliquery.php
+++ b/libraries/joomla/database/database/mysqliquery.php
@@ -62,25 +62,4 @@ class JDatabaseQueryMySQLi extends JDataba... | Remove individual escape methods from the derived database query
classes. | joomla_joomla-framework | train |
84c5b044e1972e1c2a3b2729f1d8d07eca044a3b | diff --git a/src/Transaction/PayPalTransaction.php b/src/Transaction/PayPalTransaction.php
index <HASH>..<HASH> 100644
--- a/src/Transaction/PayPalTransaction.php
+++ b/src/Transaction/PayPalTransaction.php
@@ -78,11 +78,11 @@ class PayPalTransaction extends Transaction implements Reservable
}
if (n... | Fix and rename method for update state for PayPal | wirecard_paymentSDK-php | train |
972d49c0cb5ca622d5149f094b5af93426c4868b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -14,26 +14,27 @@ if sys.version_info < (3, 3):
sys.exit(1)
-VERSION = '0.3.2.dev'
-
def get_version():
+ import sys
+
from datetime import date
from subprocess import check_output, CalledProcessError, DE... | Fix some problems with get_version() in setup.py
When called from distutils.core.run_setup():
- get_version() may not rely on globals
- there is no sys.argv[1]
When check-manifest creates an sdist, there is no git context nor a
PKG-INFO file. | brechtm_rinohtype | train |
1ee8b67654ebf71b02bd5900bcdaf27246a84cfc | diff --git a/python-package/setup.py b/python-package/setup.py
index <HASH>..<HASH> 100644
--- a/python-package/setup.py
+++ b/python-package/setup.py
@@ -155,7 +155,6 @@ if __name__ == "__main__":
version=version,
description='LightGBM Python Package',
install_requires=[
- ... | Remove wheel from Python requirement (#<I>) | Microsoft_LightGBM | train |
5f0e7c5f291c7a3145826f0b3492bcbfddb5c31a | diff --git a/lib/melissa/addr_obj.rb b/lib/melissa/addr_obj.rb
index <HASH>..<HASH> 100644
--- a/lib/melissa/addr_obj.rb
+++ b/lib/melissa/addr_obj.rb
@@ -56,7 +56,7 @@ module Melissa
# Allow callbacks to intercept response and perform whatever misc stuff (hint: victim_statements)
def self.add_callback(&cal... | Removed callback from mock objects. | smarinskaya_Melissa | train |
4a9d6a547539f5b27832603bf62288957fa70b9b | diff --git a/src/Symfony/Component/Cache/Traits/RedisTrait.php b/src/Symfony/Component/Cache/Traits/RedisTrait.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Cache/Traits/RedisTrait.php
+++ b/src/Symfony/Component/Cache/Traits/RedisTrait.php
@@ -373,7 +373,7 @@ trait RedisTrait
{
if ($this->r... | [Cache] do not pass null to strlen() | symfony_symfony | train |
a5d7b513072f0a4aa2b7ecd64502136db4410c2d | diff --git a/lib/fog/openstack/requests/orchestration/list_resources.rb b/lib/fog/openstack/requests/orchestration/list_resources.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/openstack/requests/orchestration/list_resources.rb
+++ b/lib/fog/openstack/requests/orchestration/list_resources.rb
@@ -20,7 +20,7 @@ module Fog
... | Minor bugs from list methods unification
Minor bugs from list methods unification | fog_fog | train |
d8eeda90f1e1ebb6e9b41ed2239840a4954984df | diff --git a/i18n.class.php b/i18n.class.php
index <HASH>..<HASH> 100644
--- a/i18n.class.php
+++ b/i18n.class.php
@@ -158,7 +158,9 @@ class i18n {
$compiled .= 'vprintf(constant("self::" . $string), $args);' . "\n";
$compiled .= "}\n}";
- file_put_contents($this->cacheFilePath, $... | Throw exception on write failure
Based on the PR #<I> by @viniciusbo | Philipp15b_php-i18n | train |
0f034cd1c6323e8c82a351303c995f3c3d3b0c3b | diff --git a/annis-gui/src/main/java/annis/gui/controlpanel/QueryPanel.java b/annis-gui/src/main/java/annis/gui/controlpanel/QueryPanel.java
index <HASH>..<HASH> 100644
--- a/annis-gui/src/main/java/annis/gui/controlpanel/QueryPanel.java
+++ b/annis-gui/src/main/java/annis/gui/controlpanel/QueryPanel.java
@@ -305,9 +30... | allow to automatically assign IDs based on the field name | korpling_ANNIS | train |
43970a88757aef1c86286f87c75591feea9bfa69 | diff --git a/src/filter/authorize.js b/src/filter/authorize.js
index <HASH>..<HASH> 100644
--- a/src/filter/authorize.js
+++ b/src/filter/authorize.js
@@ -13,7 +13,7 @@ export default function authorize(request, response, next) {
.join('@');
if (!user.may(request.method(), path)) {
- next(new ScolaError('4... | Make id db agnostic, send less data to client, fix errors | scola84_node-auth-server | train |
f458b323e0047819644376d690d7cb294a600b08 | diff --git a/scripts/utils/releaseDocumentation.js b/scripts/utils/releaseDocumentation.js
index <HASH>..<HASH> 100644
--- a/scripts/utils/releaseDocumentation.js
+++ b/scripts/utils/releaseDocumentation.js
@@ -15,6 +15,7 @@ function buildDocsForVersion(version) {
exec.execSync(`npm install`);
exec.execSync(`... | fix(docs release): add `git commit` command. | wix_Detox | train |
80fd27178fafd292bb743b0238fc91a9b839d374 | diff --git a/src/main/java/nl/topicus/jdbc/transaction/CloudSpannerTransaction.java b/src/main/java/nl/topicus/jdbc/transaction/CloudSpannerTransaction.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/topicus/jdbc/transaction/CloudSpannerTransaction.java
+++ b/src/main/java/nl/topicus/jdbc/transaction/CloudSpann... | added nested comment to explain no-op | olavloite_spanner-jdbc | train |
1f51f1a08dc96e5becf53b5a6e847949488afc8a | diff --git a/packages/react-bootstrap-table2-toolkit/README.md b/packages/react-bootstrap-table2-toolkit/README.md
index <HASH>..<HASH> 100644
--- a/packages/react-bootstrap-table2-toolkit/README.md
+++ b/packages/react-bootstrap-table2-toolkit/README.md
@@ -120,4 +120,7 @@ Custom the csv file separator.
Default is `f... | fix #<I> (#<I>) | react-bootstrap-table_react-bootstrap-table2 | train |
f3c70ffeebfaf4ef475d3db2a5cec50b71a86c0d | diff --git a/pkg/apiserver/handlers.go b/pkg/apiserver/handlers.go
index <HASH>..<HASH> 100644
--- a/pkg/apiserver/handlers.go
+++ b/pkg/apiserver/handlers.go
@@ -119,12 +119,16 @@ func MaxInFlightLimit(c chan bool, longRunningRequestCheck LongRunningRequestChe
defer func() { <-c }()
handler.ServeHTTP(w, r)
... | Log requests returning TooManyRequests error | kubernetes_kubernetes | train |
7a025fadeefb5538b6f2b6a87051dc04fc7f8a04 | diff --git a/tests/laser/transaction/create_transaction_test.py b/tests/laser/transaction/create_transaction_test.py
index <HASH>..<HASH> 100644
--- a/tests/laser/transaction/create_transaction_test.py
+++ b/tests/laser/transaction/create_transaction_test.py
@@ -44,7 +44,7 @@ def test_sym_exec():
contract,
... | Update the execution timeout for calls.sol test | ConsenSys_mythril-classic | train |
55b0c9ef22b8001e8d79340888c9d7d4d629c85d | diff --git a/lib/ghtorrent/utils.rb b/lib/ghtorrent/utils.rb
index <HASH>..<HASH> 100644
--- a/lib/ghtorrent/utils.rb
+++ b/lib/ghtorrent/utils.rb
@@ -1,3 +1,5 @@
+require 'ghtorrent/hash'
+
module GHTorrent
module Utils
@@ -5,9 +7,8 @@ module GHTorrent
other.extend self
end
- # Read a value whos... | Function to write a value in a hierachical map | gousiosg_github-mirror | train |
aadc72a84dc3d571711b40fd0b0b468fd1f08504 | diff --git a/pysat/instruments/supermag_magnetometer.py b/pysat/instruments/supermag_magnetometer.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/supermag_magnetometer.py
+++ b/pysat/instruments/supermag_magnetometer.py
@@ -723,7 +723,7 @@ def download(date_array, tag, sat_id='', data_path=None, user=None,
... | Attempt to fix python 3 issue | rstoneback_pysat | train |
de74c84152b556458fc037b874b449eed53b2317 | diff --git a/proctor-webapp-library/src/main/java/com/indeed/proctor/webapp/RemoteProctorSpecificationSource.java b/proctor-webapp-library/src/main/java/com/indeed/proctor/webapp/RemoteProctorSpecificationSource.java
index <HASH>..<HASH> 100644
--- a/proctor-webapp-library/src/main/java/com/indeed/proctor/webapp/Remote... | PROW-<I>: Pass correct map to constructor | indeedeng_proctor | train |
ddc409701d979c376fc66d94c095f52e9fe4cf03 | diff --git a/internal/lcow/scratch.go b/internal/lcow/scratch.go
index <HASH>..<HASH> 100644
--- a/internal/lcow/scratch.go
+++ b/internal/lcow/scratch.go
@@ -87,7 +87,7 @@ func CreateScratch(lcowUVM *uvm.UtilityVM, destFile string, sizeGB uint32, cache
if err == nil {
break
}
- if err, ok := err.(*hcsoci.Ex... | Print valid err in type assertion failure | Microsoft_hcsshim | train |
b4d0eff5d96826352dca4c0b5f550b3a8a6ba14b | diff --git a/placebo/serializer.py b/placebo/serializer.py
index <HASH>..<HASH> 100644
--- a/placebo/serializer.py
+++ b/placebo/serializer.py
@@ -15,8 +15,10 @@
import json
import pickle
import datetime
+import base64
+from io import BytesIO
+
from botocore.response import StreamingBody
-from six import StringIO
... | Trying another approach to fix PR #<I>. | garnaat_placebo | train |
39ddb44a105248b1231562042f300bbd38ab7861 | diff --git a/app/assets/config/manifest.js b/app/assets/config/manifest.js
index <HASH>..<HASH> 100644
--- a/app/assets/config/manifest.js
+++ b/app/assets/config/manifest.js
@@ -1,3 +1,9 @@
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
+//= link pwb/themes/defa... | Declare js and css files in manifest | etewiah_property_web_builder | train |
eb1e8b9805617cbc8615c018345425191ae7b187 | diff --git a/resource_aws_rds_cluster_instance_test.go b/resource_aws_rds_cluster_instance_test.go
index <HASH>..<HASH> 100644
--- a/resource_aws_rds_cluster_instance_test.go
+++ b/resource_aws_rds_cluster_instance_test.go
@@ -177,10 +177,25 @@ resource "aws_rds_cluster" "default" {
}
resource "aws_rds_cluster_inst... | provider/aws: Add db_param group to RDS Cluster Instance test | terraform-providers_terraform-provider-aws | train |
b2ee7b7c3b080ee6409ab4ff1b3477d140bacbd2 | diff --git a/doc/source/conf.py b/doc/source/conf.py
index <HASH>..<HASH> 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -51,7 +51,7 @@ master_doc = 'index'
# General information about the project.
project = 'GeminiMotorDrive'
-copyright = '2014, Freja Nordsiek'
+copyright = '2014-2016, Freja Nordsiek'... | Updated the copyright years in the documentation. | frejanordsiek_GeminiMotorDrive | train |
9d82293ad181848d05fd44eef7d46e85c17b3a49 | diff --git a/adafruit_bus_device/i2c_device.py b/adafruit_bus_device/i2c_device.py
index <HASH>..<HASH> 100644
--- a/adafruit_bus_device/i2c_device.py
+++ b/adafruit_bus_device/i2c_device.py
@@ -101,6 +101,41 @@ class I2CDevice:
"""
self.i2c.writeto(self.device_address, buf, **kwargs)
+ def write... | add write_then_readinto support for linux (and possibly others!) | adafruit_Adafruit_CircuitPython_BusDevice | train |
c9de2a020b7e02a7abc6d40bcfc1ea1946106aa2 | diff --git a/src/Storage.php b/src/Storage.php
index <HASH>..<HASH> 100644
--- a/src/Storage.php
+++ b/src/Storage.php
@@ -365,12 +365,12 @@ class Storage
// Decide whether to insert a new record, or update an existing one.
if ($create) {
- $id = $this->insertContent($content, $comment);
... | Remove value maniplation that we're doing elsewhere | bolt_bolt | train |
41c156f44903bded870bee8261d5b77bea4c5f10 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -3587,7 +3587,9 @@ window.CodeMirror = (function() {
options = copyObj(options);
options.shared = false;
var markers = [markText(doc, from, to, options, type)], primary = mark... | Make sure shared marker's widgets are cloned | codemirror_CodeMirror | train |
3fadfd6cfe8d8c9708d2f09fc3ccd2a9290bf418 | diff --git a/library/src/main/java/me/zhanghai/android/materialprogressbar/IntrinsicPaddingDrawable.java b/library/src/main/java/me/zhanghai/android/materialprogressbar/IntrinsicPaddingDrawable.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/me/zhanghai/android/materialprogressbar/IntrinsicPaddingDrawable.... | Add code tag to true in JavaDoc. | DreaminginCodeZH_MaterialProgressBar | train |
d1b6a3a0d50ceb1835cf23e6f3502dc1f8721cca | diff --git a/src/main/java/com/authlete/jaxrs/BaseResourceEndpoint.java b/src/main/java/com/authlete/jaxrs/BaseResourceEndpoint.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/authlete/jaxrs/BaseResourceEndpoint.java
+++ b/src/main/java/com/authlete/jaxrs/BaseResourceEndpoint.java
@@ -78,7 +78,7 @@ public clas... | added additional pass-through method and fixed documentation | authlete_authlete-java-jaxrs | train |
88af4277c6f2d38b8548e0d052fbe48f37f641d9 | diff --git a/src/python/grpcio_tests/tests_aio/benchmark/worker_servicer.py b/src/python/grpcio_tests/tests_aio/benchmark/worker_servicer.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio_tests/tests_aio/benchmark/worker_servicer.py
+++ b/src/python/grpcio_tests/tests_aio/benchmark/worker_servicer.py
@@ -216,7 +21... | Python style: disambiguate list expand style for yapf | grpc_grpc | train |
8022e981970150f5e16be002d2f8c74857320315 | diff --git a/tests/parser/types/test_lists.py b/tests/parser/types/test_lists.py
index <HASH>..<HASH> 100644
--- a/tests/parser/types/test_lists.py
+++ b/tests/parser/types/test_lists.py
@@ -153,3 +153,32 @@ def test_array(x: num, y: num, z: num, w: num) -> num:
c = get_contract_with_gas_estimation(two_d_array_acc... | fix-return-list-type | ethereum_vyper | train |
09946ecef75fc6550cdaab8c742f97d2a0b6ae98 | diff --git a/src/Controller/Controller.php b/src/Controller/Controller.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Controller.php
+++ b/src/Controller/Controller.php
@@ -375,14 +375,17 @@ class Controller extends Object implements EventListener {
* exists and isn't private.
*
* @return mixed The resultin... | Do the right thing throw and exception. | cakephp_cakephp | train |
05e1c74ad83c33b5dfab78f77a4320b8416890f2 | diff --git a/safe/impact_functions/test_impact_function_manager.py b/safe/impact_functions/test_impact_function_manager.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/test_impact_function_manager.py
+++ b/safe/impact_functions/test_impact_function_manager.py
@@ -91,7 +91,7 @@ class TestImpactFunctionManager... | Correct test case: allow point layers to be used as exposure in Earthquake IF #<I> | inasafe_inasafe | train |
5c9e5c133e1ea33f61806ce09b541b91c8423b65 | diff --git a/doc/scapy/conf.py b/doc/scapy/conf.py
index <HASH>..<HASH> 100644
--- a/doc/scapy/conf.py
+++ b/doc/scapy/conf.py
@@ -36,15 +36,15 @@ master_doc = 'index'
# General substitutions.
project = 'Scapy'
-copyright = '2008, Philippe Biondi and the Scapy community'
+copyright = '2008, 2009 Philippe Biondi and... | Increased version number. Copyright for <I> | secdev_scapy | train |
5a4f60b2382f9ce3a1ab89c2bbcd51757441469d | diff --git a/src/DaftWriteableObjectMemoryTree.php b/src/DaftWriteableObjectMemoryTree.php
index <HASH>..<HASH> 100644
--- a/src/DaftWriteableObjectMemoryTree.php
+++ b/src/DaftWriteableObjectMemoryTree.php
@@ -90,17 +90,17 @@ abstract class DaftWriteableObjectMemoryTree extends DaftObjectMemoryTree implem
$ro... | shifting invocations & conditionals | SignpostMarv_daft-nested-object | train |
aa78029d2c9b8eea1c6cd6ad2b785be83ee30fc7 | diff --git a/lib/yard/handlers/base.rb b/lib/yard/handlers/base.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/handlers/base.rb
+++ b/lib/yard/handlers/base.rb
@@ -347,8 +347,6 @@ module YARD
else
raise NamespaceMissingError, object
end
- else
- log.debug "Object #{obje... | Remove a few debugging messages (too much info) | lsegal_yard | train |
dac2a1c03754f854136f4e6194db601779d43814 | diff --git a/src/Philip/Philip.php b/src/Philip/Philip.php
index <HASH>..<HASH> 100644
--- a/src/Philip/Philip.php
+++ b/src/Philip/Philip.php
@@ -129,29 +129,29 @@ class Philip
}
/**
- * Adds event handlers to the list for INVITE messages.
+ * Adds event handlers to the list for ERROR messages.
... | Switches 2 functions, now server events are alphabetically sorted | epochblue_philip | train |
e2423c3d10eb6ed3632f58149384fbab1ccf68fb | diff --git a/es6-promise-pool.js b/es6-promise-pool.js
index <HASH>..<HASH> 100644
--- a/es6-promise-pool.js
+++ b/es6-promise-pool.js
@@ -11,6 +11,17 @@
};
};
+ var promiseToProducer = function(promise) {
+ var called = false;
+ return function() {
+ if (called) {
+ return null;
+ }
+... | Refactoring _resolve and _reject into _callbacks; adding active() function | timdp_es6-promise-pool | train |
fd8f263559d6e6c37b9d73783152c895c035232a | diff --git a/api/tests/test_domain.py b/api/tests/test_domain.py
index <HASH>..<HASH> 100644
--- a/api/tests/test_domain.py
+++ b/api/tests/test_domain.py
@@ -7,6 +7,7 @@ Run the tests with "./manage.py test api"
from __future__ import unicode_literals
import json
+import unittest
from django.contrib.auth.models... | test(controller): add unit test for deleting domains
.get_object() returns all domains instead of the requested domain, which
causes an issue when attempting to delete or modify a specific domain. | deis_controller-sdk-go | train |
740e12cfcbd71be16f48acbe7f2328dc7e009e21 | diff --git a/src/block_manager/view/BlockView.js b/src/block_manager/view/BlockView.js
index <HASH>..<HASH> 100644
--- a/src/block_manager/view/BlockView.js
+++ b/src/block_manager/view/BlockView.js
@@ -38,7 +38,7 @@ export default Backbone.View.extend({
const content = model.get('content');
const selected = ... | append block on click next to selected component | artf_grapesjs | train |
68b9febcd230ab5e67f43bd6e07025082d0f68a3 | diff --git a/lib/HTMLCanvasRenderer.js b/lib/HTMLCanvasRenderer.js
index <HASH>..<HASH> 100644
--- a/lib/HTMLCanvasRenderer.js
+++ b/lib/HTMLCanvasRenderer.js
@@ -213,6 +213,9 @@ HTMLCanvasRenderer.prototype.draw = function (items, scale) {
ctx.fillStyle = 'rgba(0, 0, 0, 1)';
ctx.fillText(items[i].title, ... | Fixed a bug where separator was trying to draw undefined title | pex-gl_pex-gui | train |
fb6360df799dcb307fa6dcef9ec474e2052700e4 | diff --git a/lib/sneakers/worker.rb b/lib/sneakers/worker.rb
index <HASH>..<HASH> 100644
--- a/lib/sneakers/worker.rb
+++ b/lib/sneakers/worker.rb
@@ -23,6 +23,7 @@ module Sneakers
@should_ack = opts[:ack]
@timeout_after = opts[:timeout_job_after]
@pool = pool || Thread.pool(opts[:threads]) # XXX ... | add a with_params variant, discussion at #<I> | jondot_sneakers | train |
74d364459546fe0524f19dc461046f8584ee34ef | diff --git a/validator/sawtooth_validator/consensus/proxy.py b/validator/sawtooth_validator/consensus/proxy.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/consensus/proxy.py
+++ b/validator/sawtooth_validator/consensus/proxy.py
@@ -134,7 +134,17 @@ class ConsensusProxy:
self._get_blocks(... | Omit state/settings keys that are missing
Instead of returning an empty string the key is omitted from the response so
that it is possible to tell the difference between a key that was set to an
empty string and an unset key. | hyperledger_sawtooth-core | train |
eca2631491942c14656400df545d0055f69474ec | diff --git a/js/remote.js b/js/remote.js
index <HASH>..<HASH> 100644
--- a/js/remote.js
+++ b/js/remote.js
@@ -539,19 +539,26 @@ Remote.prototype.submit = function (transaction) {
}
if (!transaction.transaction.Sequence) {
- var cache_request = this.account_cache(transaction.transaction.Account);
-
-... | JS: Have remote look in the current ledger to get Sequence for new accounts. | ChainSQL_chainsql-lib | train |
b36d298bde5843384e5d90174db19a05770b705d | diff --git a/mpop/instruments/visir.py b/mpop/instruments/visir.py
index <HASH>..<HASH> 100644
--- a/mpop/instruments/visir.py
+++ b/mpop/instruments/visir.py
@@ -26,6 +26,13 @@
from mpop.imageo import geo_image
from mpop.compositer import Compositer
+import numpy as np
+
+try:
+ from pyorbital.astronomy import ... | adding a sun-corrected overview rgb | pytroll_satpy | train |
70e5ed82ba4d7755dfef5dc48fc06611e4470488 | diff --git a/pyDESDEO/method/NIMBUS.py b/pyDESDEO/method/NIMBUS.py
index <HASH>..<HASH> 100644
--- a/pyDESDEO/method/NIMBUS.py
+++ b/pyDESDEO/method/NIMBUS.py
@@ -30,7 +30,7 @@ class NIMBUS(Method):
Preference, i.e., classification information information for current iteration
'''
-
+ __SCALARS = ["... | Handle different number of scalarizations | industrial-optimization-group_DESDEO | train |
ef942ed7aa157a8e8429549143ebf5697fc7b539 | diff --git a/src/Container.php b/src/Container.php
index <HASH>..<HASH> 100644
--- a/src/Container.php
+++ b/src/Container.php
@@ -281,8 +281,10 @@ class Container implements ContainerInterface, ArrayAccess
*/
public function isInServiceProvider($alias)
{
- foreach ($this->providers as $provider)... | Fixes always reinstantiating the provider | thephpleague_container | train |
289f7e58c50d9a9e169002e15df6305ba42c83b9 | diff --git a/skyfield/datalib.py b/skyfield/datalib.py
index <HASH>..<HASH> 100644
--- a/skyfield/datalib.py
+++ b/skyfield/datalib.py
@@ -11,7 +11,7 @@ def download_file(url, filename, days_old=0):
response = requests.get(url, stream=True)
f = open(filename, 'w')
for chunk in response.iter_content(1024)... | Writing string instead of bytes to fix py3 compat | skyfielders_python-skyfield | train |
5bc7fd321bfeb37d5b583c13678c42eb95a2d954 | diff --git a/parse_test.go b/parse_test.go
index <HASH>..<HASH> 100644
--- a/parse_test.go
+++ b/parse_test.go
@@ -78,32 +78,27 @@ func BenchmarkParse(b *testing.B) {
strings.Repeat("a b c d; ", 10),
},
{
- "SglQuoted",
- "'" + strings.Repeat("foo bar ", 10) + "\n'",
- },
- {
- "DblQuoted",
- `"` + ... | parse: collapse some benchmarks
Also, make the heredoc one have a longer body. | mvdan_sh | train |
04d3d39f169830f28784000d7d773b0e8ae538d7 | diff --git a/src/class-container.php b/src/class-container.php
index <HASH>..<HASH> 100644
--- a/src/class-container.php
+++ b/src/class-container.php
@@ -18,32 +18,32 @@ class Container implements ArrayAccess {
protected static $_container_instance;
/**
- * The classes holder.
+ * The container's bindings.
... | Rename values to bindings and update comments | wpup_tank | train |
bb81705d4a1829e671124b05a9caffa98f282ba2 | diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1708,9 +1708,11 @@ class Kconfig(object):
self._parse_cond()))
elif t0 == _T_OPTION:
- if self._check_token(_T_ENV) and self._check_token(_T_EQ... | Make 'option env' parsing saner
The previous version would accept stuff like
'option env defconfig_list', due to how the tests were laid out. | ulfalizer_Kconfiglib | train |
554628f3aa2c00317b439745d6ecfa4a1fc9f2d5 | diff --git a/exchangelib/services/common.py b/exchangelib/services/common.py
index <HASH>..<HASH> 100644
--- a/exchangelib/services/common.py
+++ b/exchangelib/services/common.py
@@ -713,16 +713,26 @@ class EWSService(metaclass=abc.ABCMeta):
@staticmethod
def _get_paging_values(elem):
"""Read paging ... | Make logic around stopping paging based on returned paging values easier to reason about. Allow offset value without an item count. Refs #<I> | ecederstrand_exchangelib | train |
16d94f161a2d1bc6f2ef34e49916df13ba3b40d2 | diff --git a/lib/surrounded/context/negotiator.rb b/lib/surrounded/context/negotiator.rb
index <HASH>..<HASH> 100644
--- a/lib/surrounded/context/negotiator.rb
+++ b/lib/surrounded/context/negotiator.rb
@@ -37,6 +37,10 @@ module Surrounded
def method_missing(meth, *args, &block)
@object.send(meth, *args... | add respond_to_missing for negotiator objects | saturnflyer_surrounded | train |
6187891baa1b0623aeb9bbd7e7a134479a7827f8 | diff --git a/server-coreless/src/main/java/org/openqa/selenium/server/BrowserSessionFactory.java b/server-coreless/src/main/java/org/openqa/selenium/server/BrowserSessionFactory.java
index <HASH>..<HASH> 100644
--- a/server-coreless/src/main/java/org/openqa/selenium/server/BrowserSessionFactory.java
+++ b/server-corele... | Add patch by Alex Ward to also consider *firefox2 and *firefox3 when cutting over to *pifirefox.
r<I> | SeleniumHQ_selenium | train |
0862614597caaecd4508266eafce1ffd2eeaf551 | diff --git a/autofit/optimize/non_linear/multi_nest.py b/autofit/optimize/non_linear/multi_nest.py
index <HASH>..<HASH> 100644
--- a/autofit/optimize/non_linear/multi_nest.py
+++ b/autofit/optimize/non_linear/multi_nest.py
@@ -204,16 +204,23 @@ class MultiNestOutput(NestedSamplingOutput):
def pdf(self):
i... | Multinest with high evidence tolerance now works. | rhayes777_PyAutoFit | train |
95ed1128ac022eb9e51c9667e57d2a8eeb8df65d | diff --git a/Tests/Unit/ViewHelpers/CheckboxViewHelperTest.php b/Tests/Unit/ViewHelpers/CheckboxViewHelperTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Unit/ViewHelpers/CheckboxViewHelperTest.php
+++ b/Tests/Unit/ViewHelpers/CheckboxViewHelperTest.php
@@ -157,7 +157,7 @@ class Tx_Phpunit_Tests_Unit_ViewHelpers_Check... | [BUGFIX] Prevent error with PHP <I>
A preg_match_all is used inside on test but misses the third parameter.
With PHP versions below <I> this parameter is required and the
test breaks because of a wrong result.
Resolves: #<I>
Change-Id: I<I>d5fa8ad<I>e<I>e<I>e<I>f<I>dcc<I>e4d3af<I>
Reviewed-on: <URL> | oliverklee_ext-phpunit | train |
f6e84f176df0dec2ebdcd5487dc7ec363046995e | diff --git a/src/main/java/com/milaboratory/core/tree/TreeSearchParameters.java b/src/main/java/com/milaboratory/core/tree/TreeSearchParameters.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/milaboratory/core/tree/TreeSearchParameters.java
+++ b/src/main/java/com/milaboratory/core/tree/TreeSearchParameters.ja... | Several predefined TreeSearchParameters for convenience. | milaboratory_milib | train |
01028d03dbdc9cc05c940a2ac6bc367119165c16 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -127,8 +127,8 @@ Sends a request to every nodes, that will respond through the `customHook` metho
```js
// on every node
-io.adapter.customHook = function (data) {
- return 'hello ' + data;
+io.adapter.customHook = fu... | [feature] Make customHook async (#<I>) | socketio_socket.io-redis | train |
ad84a2c0720a52ffcc82b3b90ad8a4701d2d9682 | diff --git a/VM-Core/src/main/java/com/validation/manager/core/DemoBuilder.java b/VM-Core/src/main/java/com/validation/manager/core/DemoBuilder.java
index <HASH>..<HASH> 100644
--- a/VM-Core/src/main/java/com/validation/manager/core/DemoBuilder.java
+++ b/VM-Core/src/main/java/com/validation/manager/core/DemoBuilder.ja... | Replace org.openide.util.Exceptions with Logger. | javydreamercsw_validation-manager | train |
b1247840cb814182879952b24a3e78b0aca4a23c | diff --git a/base/app/models/activity_object.rb b/base/app/models/activity_object.rb
index <HASH>..<HASH> 100644
--- a/base/app/models/activity_object.rb
+++ b/base/app/models/activity_object.rb
@@ -203,10 +203,6 @@ class ActivityObject < ActiveRecord::Base
@_activity_parent_id = id
end
- def like_count
- ... | Restore overwrited like_count | ging_social_stream | train |
ac7ba64bcb85180a67749105602d9d12de2316eb | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -18,7 +18,7 @@ import os
html_context = {
'version' : '3.1',
'full_version' : '3.1.9',
- 'maven_plugin_version' : '3.1.8',
+ 'maven_plugin_version' : '3.1.9',
'gradle_plugin_version' : '1.6.5',
'... | bump up maven plugin version to the latest | spotbugs_spotbugs | train |
d2438d10a6b8f1908896366de4064182c7bb1c77 | diff --git a/src/filter.js b/src/filter.js
index <HASH>..<HASH> 100644
--- a/src/filter.js
+++ b/src/filter.js
@@ -56,13 +56,6 @@ Filter.LAZY_LOADING_MESSAGES_FILTER = {
lazy_load_members: true,
};
-Filter.LAZY_LOADING_SYNC_FILTER = {
- room: {
- state: Filter.LAZY_LOADING_MESSAGES_FILTER,
- },
-};... | when enabling LL, set the flag on Filter, rather than doing /filter | matrix-org_matrix-js-sdk | train |
5a45c12468fb1ed59e9fd37b5ee532d142d79df1 | diff --git a/test.py b/test.py
index <HASH>..<HASH> 100755
--- a/test.py
+++ b/test.py
@@ -2950,6 +2950,24 @@ class RacingKingsTestCase(unittest.TestCase):
self.assertFalse(board.is_variant_win())
self.assertTrue(board.is_variant_loss())
+ def test_stalemate(self):
+ board = chess.variant.... | Test stalemate in racing kings (#<I>) | niklasf_python-chess | train |
0360eef596aa66ce18b1ae20fc7bac9eae0b59a7 | diff --git a/src/Database/Drivers/MySql.php b/src/Database/Drivers/MySql.php
index <HASH>..<HASH> 100644
--- a/src/Database/Drivers/MySql.php
+++ b/src/Database/Drivers/MySql.php
@@ -32,7 +32,10 @@ class MysqlDatabase
else
{
- Database::$default=@mysqli_connect(Config::get("database.host"), Config::get("da... | in case of localhost change it to <I> for the bug of BASH | vinala_kernel | train |
deaf9e7368c6ca2d6bded23ab6c565064da8e18a | diff --git a/lib/initiator/render.js b/lib/initiator/render.js
index <HASH>..<HASH> 100644
--- a/lib/initiator/render.js
+++ b/lib/initiator/render.js
@@ -90,6 +90,8 @@ module.exports = function() {
if( typeof target === 'string' ) target = document.querySelector(target);
if( !target ) return done(new Err... | add request/response in render options & mark router id to attribute | attrs_x-router | train |
9eaa2bfff7652bbc728abbda102c49371afce0bc | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100755
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -15,6 +15,7 @@ var copy = require('es5-ext/lib/Array/prototype/copy')
, getRequire = require('next/lib/module/get-require')
, findRoot = require('next/lib/module/find-package-root')
,... | Cache based on size and file modification date | medikoo_modules-webmake | train |
2ac2667e01bb5545b2e6d61e2cfde79840b4613c | diff --git a/test/incoming_frame_stream.js b/test/incoming_frame_stream.js
index <HASH>..<HASH> 100644
--- a/test/incoming_frame_stream.js
+++ b/test/incoming_frame_stream.js
@@ -7,7 +7,9 @@
var IncomingFrameStream = require('../lib/incoming_frame_stream');
var BufferWritable = require('../lib/util/buffer/writab... | Test IncomingFrameStream can handle large binary and text frames | gdaws_node-stomp | train |
d46daf891cc57c3ca8128d467a834277df1cbd48 | diff --git a/pkg/kubelet/dockershim/libdocker/fake_client.go b/pkg/kubelet/dockershim/libdocker/fake_client.go
index <HASH>..<HASH> 100644
--- a/pkg/kubelet/dockershim/libdocker/fake_client.go
+++ b/pkg/kubelet/dockershim/libdocker/fake_client.go
@@ -99,6 +99,7 @@ func NewFakeDockerClient() *FakeDockerClient {
Clock... | fixing docker fake client InspectExec | kubernetes_kubernetes | train |
50be93d1d7e242279de4c67b7ec5e1f6b637c1e1 | diff --git a/lib/phpunit/lib.php b/lib/phpunit/lib.php
index <HASH>..<HASH> 100644
--- a/lib/phpunit/lib.php
+++ b/lib/phpunit/lib.php
@@ -53,7 +53,7 @@ class phpunit_util {
/**
* @var int last value of db writes counter, used for db resetting
*/
- protected static $lastdbwrites = null;
+ public ... | MDL-<I> add fast transaction based database reset for PostgreSQL | moodle_moodle | train |
189c6133318b3677c3247f10294f52e5909ee88e | diff --git a/openpnm/topotools/topotools.py b/openpnm/topotools/topotools.py
index <HASH>..<HASH> 100644
--- a/openpnm/topotools/topotools.py
+++ b/openpnm/topotools/topotools.py
@@ -780,8 +780,8 @@ def stitch(network, donor, P_network, P_donor, method='nearest',
'''
# Ensure Networks have no associated obj... | Removing exception in stitch if phases are present | PMEAL_OpenPNM | train |
8454a93f335351b2c667a93d48abe8f695cded5d | diff --git a/generator/api/src/main/java/io/fabric8/maven/generator/api/support/JavaRunGenerator.java b/generator/api/src/main/java/io/fabric8/maven/generator/api/support/JavaRunGenerator.java
index <HASH>..<HASH> 100644
--- a/generator/api/src/main/java/io/fabric8/maven/generator/api/support/JavaRunGenerator.java
+++ ... | Add workaround for agent bond to wildfly swarm generator
See also #<I>. Should be removed when logging issue with agent bond and wildfly swarm is resolved | fabric8io_fabric8-maven-plugin | train |
fcfd45d84effcd6ffe6dbdfd778bbdf5bece0a87 | diff --git a/SBML_format_conversion.py b/SBML_format_conversion.py
index <HASH>..<HASH> 100755
--- a/SBML_format_conversion.py
+++ b/SBML_format_conversion.py
@@ -2,9 +2,8 @@
'''Convert SBML model file to standard format'''
-import csv
+import sys
import argparse
-import re
from metnet import sbml
@@ -12,10 ... | SBML_format_conversion: Write compound table | zhanglab_psamm | train |
ced683d68810219ca361566a1c7490aa1d48710e | diff --git a/anyconfig/backend/yaml/pyyaml.py b/anyconfig/backend/yaml/pyyaml.py
index <HASH>..<HASH> 100644
--- a/anyconfig/backend/yaml/pyyaml.py
+++ b/anyconfig/backend/yaml/pyyaml.py
@@ -60,14 +60,14 @@ import anyconfig.utils
_MAPPING_TAG = yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG
-def _filter_from_optio... | change: rename some utility function and add arugments to them | ssato_python-anyconfig | train |
432fde88a92b8f9e95f546be503c08767cf15975 | diff --git a/pkg/wait/wait.go b/pkg/wait/wait.go
index <HASH>..<HASH> 100644
--- a/pkg/wait/wait.go
+++ b/pkg/wait/wait.go
@@ -21,6 +21,13 @@ import (
"sync"
)
+const (
+ // To avoid lock contention we use an array of list struct (rw mutex & map)
+ // for the id argument, we apply mod operation and uses its remain... | pkg/wait: change list from single element to an array.
We found wait lock contention when a large amount of write operations. Converting wait from single element to an array helps to improve the performance.
Fixes #<I> | etcd-io_etcd | train |
994075901f28b738052efd08c31824337c65b96f | diff --git a/dateparser/parser.py b/dateparser/parser.py
index <HASH>..<HASH> 100644
--- a/dateparser/parser.py
+++ b/dateparser/parser.py
@@ -381,6 +381,14 @@ class _parser(object):
if 'future' in self.settings.PREFER_DATES_FROM:
dateobj = dateobj.replace(year=dateobj.year + 1)
... | Handle ambiguous years (YY) | scrapinghub_dateparser | train |
dbfb3356c691fdabbc0ec64a414a2b2a30261da9 | diff --git a/src/engine/runtime.js b/src/engine/runtime.js
index <HASH>..<HASH> 100644
--- a/src/engine/runtime.js
+++ b/src/engine/runtime.js
@@ -10,11 +10,27 @@ function Runtime () {
EventEmitter.call(this);
// State for the runtime
- /** @type {Object.<string, Object>} */
+ /**
+ * All blocks i... | Move threads list to the Runtime | LLK_scratch-vm | train |
04426a0ffaf29a7c88f4840027334508495b1346 | diff --git a/test/test_common_test_suite.rb b/test/test_common_test_suite.rb
index <HASH>..<HASH> 100644
--- a/test/test_common_test_suite.rb
+++ b/test/test_common_test_suite.rb
@@ -29,7 +29,7 @@ class CommonTestSuiteTest < Test::Unit::TestCase
v = nil
test["tests"].each do |t|
- err_id = ... | Made some minor tweaks to the common test suite to make it easier to
understand failures | ruby-json-schema_json-schema | train |
0488ea060ba6ee938f0989667ae4cc432eb2da1e | diff --git a/openid/oidUtil.py b/openid/oidUtil.py
index <HASH>..<HASH> 100644
--- a/openid/oidUtil.py
+++ b/openid/oidUtil.py
@@ -111,8 +111,7 @@ def signReply(reply, key, signed_fields):
token.append((i, reply['openid.' + i]))
text = ''.join(['%s:%s\n' % (k, v) for k, v in token])
- return (','.joi... | [project @ fix signReply variable references] | necaris_python3-openid | train |
7c5bab1e656aebe43cc08d3b1fc884e326727633 | diff --git a/examples/utils.py b/examples/utils.py
index <HASH>..<HASH> 100644
--- a/examples/utils.py
+++ b/examples/utils.py
@@ -72,6 +72,9 @@ def plot_images(imgs, loc, title=None, channels=1):
r, c = divmod(i, n)
img[r * s:(r+1) * s, c * s:(c+1) * s] = pix.reshape((s, s, channels))
+ img -= i... | Rescale images to fit in [0, 1] before plotting. | lmjohns3_theanets | train |
24a61fbf8f132f18ab023048fcb7aeed4a1591be | diff --git a/feedreader/parser.py b/feedreader/parser.py
index <HASH>..<HASH> 100644
--- a/feedreader/parser.py
+++ b/feedreader/parser.py
@@ -67,5 +67,8 @@ def from_url(url, **kwargs):
raise ParseError('Bad status line: %s' % (exc,))
if response.status != 200:
+ if response.status in (301, 3... | from_url now follows HTTP redirects | dcramer_feedreader | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.