hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
8c41e85edc718b35fc0cb28bf4f8cf13af06ebed | diff --git a/src/runners/WorkerProcess.js b/src/runners/WorkerProcess.js
index <HASH>..<HASH> 100644
--- a/src/runners/WorkerProcess.js
+++ b/src/runners/WorkerProcess.js
@@ -366,7 +366,7 @@ export default class WorkerProcess extends EventEmitter {
this.emit('debugger:error', Object.assign(err, { pid: this... | OI-<I> (Hide 'websocket is not open' errors) (#<I>) | oxygenhq_oxygen | train | js |
e04c2f73d67fda01d2a2b6211966345a59f52a52 | diff --git a/connections.go b/connections.go
index <HASH>..<HASH> 100644
--- a/connections.go
+++ b/connections.go
@@ -76,6 +76,9 @@ type ConnectionInfo struct {
RecvOctDetails RateDetails `json:"recv_oct_details"`
// Egress data rate
SendOctDetails RateDetails `json:"send_oct_details"`
+
+ // Connection timestam... | Added ConnectedAt property to ConnectionInfo | michaelklishin_rabbit-hole | train | go |
452c546f36443782cc70e47cd83448b1484e2e27 | diff --git a/demo/script.js b/demo/script.js
index <HASH>..<HASH> 100644
--- a/demo/script.js
+++ b/demo/script.js
@@ -1,12 +1,11 @@
-var base_layer = new L.tileLayer(
- 'http://{s}.tile.cloudmade.com/63250e2ef1c24cc18761c70e76253f75/997/256/{z}/{x}/{y}.png',{
- attribution: 'Map data © <a href="http:/... | Cloudmade disables free maps so let's switch to a free tile provider | domoritz_leaflet-locatecontrol | train | js |
83583be0db2ee61c3485cd5a92a6d120965d5a9b | diff --git a/Kwf/Media/MemoryCache.php b/Kwf/Media/MemoryCache.php
index <HASH>..<HASH> 100644
--- a/Kwf/Media/MemoryCache.php
+++ b/Kwf/Media/MemoryCache.php
@@ -160,6 +160,7 @@ class Kwf_Media_MemoryCache
RecursiveIteratorIterator::CHILD_FIRST
);
foreach ($files as $fileinfo) {
+ ... | Don't delete .gitignore file in cache/media | koala-framework_koala-framework | train | php |
0519b459e74bed4d5da2a9ac9d8ab5537a55aa3a | diff --git a/update.go b/update.go
index <HASH>..<HASH> 100644
--- a/update.go
+++ b/update.go
@@ -190,7 +190,7 @@ func IsUpdateNeeded(t string) bool {
if t == "background" {
return time.Since(f.ModTime()) > 4*time.Hour
} else if t == "block" {
- return time.Since(f.ModTime()) > 168*time.Hour
+ return time.Sin... | only block for updates if it has been 2 weeks | heroku_cli | train | go |
bfe425528862afb29b4accd882f8e5d0d6d5aafb | diff --git a/frojd_fabric/utils/__init__.py b/frojd_fabric/utils/__init__.py
index <HASH>..<HASH> 100644
--- a/frojd_fabric/utils/__init__.py
+++ b/frojd_fabric/utils/__init__.py
@@ -25,3 +25,8 @@ def has_task(task):
def get_stage_var(name):
return env["%s_%s" % (env.stage.upper(), name)]
+
+
+def get_var(name)... | Created helper for extracting vars from env | Frojd_Fabrik | train | py |
919ebb04eb2618e893421e117d5a21383531d6b2 | diff --git a/aws/data_source_aws_mq_broker_test.go b/aws/data_source_aws_mq_broker_test.go
index <HASH>..<HASH> 100644
--- a/aws/data_source_aws_mq_broker_test.go
+++ b/aws/data_source_aws_mq_broker_test.go
@@ -19,8 +19,9 @@ func TestAccDataSourceAWSMqBroker_basic(t *testing.T) {
resourceName := "aws_mq_broker.acctes... | tests/ds/mq_broker: Add ErrorCheck | terraform-providers_terraform-provider-aws | train | go |
47d9142842fc7d31f2be19cf1177466280817f45 | diff --git a/lib/bolt/version.rb b/lib/bolt/version.rb
index <HASH>..<HASH> 100644
--- a/lib/bolt/version.rb
+++ b/lib/bolt/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Bolt
- VERSION = '1.41.0'
+ VERSION = '1.42.0'
end | (GEM) update bolt version to <I> | puppetlabs_bolt | train | rb |
5154cd7067252b1e00f453079dbbbab1ea099256 | diff --git a/lib/services/ftp.js b/lib/services/ftp.js
index <HASH>..<HASH> 100644
--- a/lib/services/ftp.js
+++ b/lib/services/ftp.js
@@ -251,7 +251,7 @@ exports.ls = function (path, request, response, next, cbk) {
var filesData = [];
for(var idx=0; idx<filesArray.length; idx++){
var file = file... | filter out . and .. from FTP ls operation result | silexlabs_unifile | train | js |
bf5df6f9d47ff04dc5d103b5922bcb80a9bb821c | diff --git a/lib/generators/hyrax/install_generator.rb b/lib/generators/hyrax/install_generator.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/hyrax/install_generator.rb
+++ b/lib/generators/hyrax/install_generator.rb
@@ -71,10 +71,6 @@ module Hyrax
end
end
- def catalog_controller
- copy_fil... | Move copy of template below injection of mixin it references | samvera_hyrax | train | rb |
caed758dcb599b0befe46bfce28cf9f8cf51f797 | diff --git a/lib/fake_dynamo/table.rb b/lib/fake_dynamo/table.rb
index <HASH>..<HASH> 100644
--- a/lib/fake_dynamo/table.rb
+++ b/lib/fake_dynamo/table.rb
@@ -318,14 +318,14 @@ module FakeDynamo
end
def sack_attributes(data, index)
- return unless index
+ return if !index || index.projection.type ... | no need to filter item if attributes if all the attributes are projected | ananthakumaran_fake_dynamo | train | rb |
bc74d152629ef883ab1149f6f5b6f7f3275b2171 | diff --git a/pythainlp/tokenize/__init__.py b/pythainlp/tokenize/__init__.py
index <HASH>..<HASH> 100644
--- a/pythainlp/tokenize/__init__.py
+++ b/pythainlp/tokenize/__init__.py
@@ -78,7 +78,6 @@ def dict_word_tokenize(text, custom_dict_trie, engine="newmm"):
>>> dict_word_tokenize("แมวดีดีแมว",data_dict)
... | remove engine name normalization part, as suggested by @wannaphongcom | PyThaiNLP_pythainlp | train | py |
0f6b6100cd62a20a8fde84f399285898270adffd | diff --git a/spyderlib/plugins/inspector.py b/spyderlib/plugins/inspector.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/inspector.py
+++ b/spyderlib/plugins/inspector.py
@@ -91,6 +91,23 @@ class ObjectComboBox(EditableComboBox):
def validate_current_text(self):
self.validate(self.curr... | Object Inspector: Don't format text introduced in its combo box
- I think the "No docs" warning is enough visual feedback for users. | spyder-ide_spyder | train | py |
9630e3ad46d335d42521337faeaa287587ce219a | diff --git a/packages/eslint-config-udemy-react-addons/parts/react.js b/packages/eslint-config-udemy-react-addons/parts/react.js
index <HASH>..<HASH> 100644
--- a/packages/eslint-config-udemy-react-addons/parts/react.js
+++ b/packages/eslint-config-udemy-react-addons/parts/react.js
@@ -6,7 +6,7 @@ module.exports = {
... | fix: react/jsx-boolean-value - put "always" option instead of "never".
BREAKING CHANGE: explicit true is now required for boolean prop values. | udemy_js-tooling | train | js |
c60422d266009074e4f41f281292026d52b793fc | diff --git a/h2o-algos/src/test/java/hex/glm/GLMTest.java b/h2o-algos/src/test/java/hex/glm/GLMTest.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/test/java/hex/glm/GLMTest.java
+++ b/h2o-algos/src/test/java/hex/glm/GLMTest.java
@@ -488,6 +488,7 @@ public class GLMTest extends TestUtil {
GLMModel model1 = n... | GLMTest fix: Update frame in KV after removing vec. | h2oai_h2o-3 | train | java |
82d045beea54bcf13fe01192fd4d134130468adc | diff --git a/test/assessmentSpecs/testRunner.js b/test/assessmentSpecs/testRunner.js
index <HASH>..<HASH> 100755
--- a/test/assessmentSpecs/testRunner.js
+++ b/test/assessmentSpecs/testRunner.js
@@ -90,7 +90,6 @@ process.on('uncaughtException', function (err) {
});
// The root path of the HTTP fixtures server.
-var... | Remove an unused var that caused an eslint failure | quailjs_quail | train | js |
2ae86b9032de49288a8cdf2389bae2d33e7966f6 | diff --git a/lib/takuhai_status/kuronekoyamato.rb b/lib/takuhai_status/kuronekoyamato.rb
index <HASH>..<HASH> 100644
--- a/lib/takuhai_status/kuronekoyamato.rb
+++ b/lib/takuhai_status/kuronekoyamato.rb
@@ -11,7 +11,7 @@ module TakuhaiStatus
end
def finish?
- return @state == '配達完了'
+ return !!(@state =~ /^... | add finish pattern variation of yamato | tdtds_takuhai_status | train | rb |
6ae42a21e314901690d7695f07adee8327168149 | diff --git a/core/util.js b/core/util.js
index <HASH>..<HASH> 100644
--- a/core/util.js
+++ b/core/util.js
@@ -98,11 +98,18 @@ var util = {
else if(_gekkoEnv === 'child-process')
var log = m => process.send({type: 'error', error: m});
+ var instanceName;
+
+ if(util.gekkoEnv() === 'standalone')
+ ... | make sure to print cp final words | askmike_gekko | train | js,js |
02d6e88747e8a86a8c3ed9af556adf42c2c9cfb2 | diff --git a/select2.js b/select2.js
index <HASH>..<HASH> 100644
--- a/select2.js
+++ b/select2.js
@@ -1194,7 +1194,7 @@ the specific language governing permissions and limitations under the Apache Lic
// abstract
opened: function () {
- return this.container.hasClass("select2-dropdown-op... | Update select2.js
Fix an exception when called "destroy" on a still opened dropdown. | select2_select2 | train | js |
ba8b03009ed20b0eefd5275a45cbcc5d2c4487a1 | diff --git a/action/Controller.php b/action/Controller.php
index <HASH>..<HASH> 100644
--- a/action/Controller.php
+++ b/action/Controller.php
@@ -144,7 +144,7 @@ class Controller extends \lithium\core\Object {
$this->_render['type'] = $this->request->accepts();
return;
}
- $this->_render['type'] = $this->r... | making it slightly more obvious that Controller::_init is looking for a param named 'type' in the request object and not a mistyped instance var or method | UnionOfRAD_lithium | train | php |
074d4bda7b253da8c46bf46e53c57bf3f844e61b | diff --git a/src/utils/get-scripts.js b/src/utils/get-scripts.js
index <HASH>..<HASH> 100644
--- a/src/utils/get-scripts.js
+++ b/src/utils/get-scripts.js
@@ -32,7 +32,7 @@ const travisCommands = [
'after_success',
'after_failure',
'before_deploy',
- 'deploy',
+ // 'deploy', // currently ignored
'after_de... | fix: ignore deploy in travis commands | depcheck_depcheck | train | js |
50bbb5b254379589894dc2ffacb158bacea22983 | diff --git a/course/format/weeks/db/upgrade.php b/course/format/weeks/db/upgrade.php
index <HASH>..<HASH> 100644
--- a/course/format/weeks/db/upgrade.php
+++ b/course/format/weeks/db/upgrade.php
@@ -33,6 +33,7 @@ defined('MOODLE_INTERNAL') || die();
function xmldb_format_weeks_upgrade($oldversion) {
global $CFG, ... | MDL-<I> format_weeks: fixed broken upgrade when using CLI | moodle_moodle | train | php |
a752efffb5c7c2296de2df170adcfd2a51cf43b0 | diff --git a/src/League/Monga/Query/Update.php b/src/League/Monga/Query/Update.php
index <HASH>..<HASH> 100644
--- a/src/League/Monga/Query/Update.php
+++ b/src/League/Monga/Query/Update.php
@@ -234,17 +234,17 @@ class Update extends Where
}
/**
- * Adds the values of an array to the set only
- * wh... | update addToSet function in order to support mixed dataset. also support $each operation | thephpleague_monga | train | php |
94354d7fcd12267e237223a35895c3aaff632d64 | diff --git a/src/DataTransferObject.php b/src/DataTransferObject.php
index <HASH>..<HASH> 100644
--- a/src/DataTransferObject.php
+++ b/src/DataTransferObject.php
@@ -203,7 +203,7 @@ abstract class DataTransferObject implements DataTransferObjectInterface
*
* @return string String representation of this dat... | Remove return type, causes issues with mocks | aedart_data-transfer-object-dto | train | php |
ce8d2d36ca15036482a72f44d6cc64613655ee1f | diff --git a/devices/philips.js b/devices/philips.js
index <HASH>..<HASH> 100644
--- a/devices/philips.js
+++ b/devices/philips.js
@@ -1937,6 +1937,15 @@ module.exports = [
ota: ota.zigbeeOTA,
},
{
+ zigbeeModel: ['1741730V7'],
+ model: '1741730V7',
+ vendor: 'Philips',
+ ... | Add <I>V7 (#<I>)
* Update philips.js
Added Philips Hue Lily <I>V7
* Update philips.js
* Update philips.js
Added Hue Lily model <I>V7 | Koenkk_zigbee-shepherd-converters | train | js |
3b5f3ce277f8e61edd4e8cc32b9ca1b0331f2ecd | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -18,7 +18,8 @@ module.exports.getServiceCallHeaders = getServiceCallHeaders;
* @return {String}
*/
function genHost (host) {
- if (host.indexOf('feedhenry.com') === -1) {
+ if (host.indexOf('feedhenry.com') === -1 &&
+ ... | Handle redhatmobile domains, without appending feedhenry.com to them (#4)
handle redhatmobile domains | feedhenry-staff_fh-instance-url | train | js |
5428b165d511ba54af5846542504f84f43c04d47 | diff --git a/test/queries_test.rb b/test/queries_test.rb
index <HASH>..<HASH> 100644
--- a/test/queries_test.rb
+++ b/test/queries_test.rb
@@ -11,7 +11,7 @@ class QueriesTest < ActionDispatch::IntegrationTest
assert_response :success
end
- def test_create_query
+ def test_create
post blazer.queries_pat... | Updated test name [skip ci] | ankane_blazer | train | rb |
432f0eb9e57cb38f022f121495728215fc4a998b | diff --git a/system/src/Grav/Framework/Flex/FlexIndex.php b/system/src/Grav/Framework/Flex/FlexIndex.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Framework/Flex/FlexIndex.php
+++ b/system/src/Grav/Framework/Flex/FlexIndex.php
@@ -119,6 +119,14 @@ class FlexIndex extends ObjectIndex implements FlexIndexInterfac... | Fixed some deprecation notices in flex | getgrav_grav | train | php,php |
566844b5277eef8384f71b9538a8b0a56bf9ed19 | diff --git a/tests/test_knoema.py b/tests/test_knoema.py
index <HASH>..<HASH> 100644
--- a/tests/test_knoema.py
+++ b/tests/test_knoema.py
@@ -316,8 +316,7 @@ class TestKnoemaClient(unittest.TestCase):
def test_verify_dataset_negative(self):
"""The method is negative test on dataset verification"""
... | KN-<I> Python: Use streaming API in order to get data by selection | Knoema_knoema-python-driver | train | py |
88975e362e380475739f1d3ff5d69fc294d3376b | diff --git a/src/main/java/com/highlight/template/Template.java b/src/main/java/com/highlight/template/Template.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/highlight/template/Template.java
+++ b/src/main/java/com/highlight/template/Template.java
@@ -1,6 +1,5 @@
package com.highlight.template;
-import ja... | Removed checked exception on Template.java | tiagobento_watertemplate-engine | train | java |
7c6d8729c40e9e0f7e37e3c2c3b113f03226885f | diff --git a/src/Wave/Framework/Application/Wave.php b/src/Wave/Framework/Application/Wave.php
index <HASH>..<HASH> 100644
--- a/src/Wave/Framework/Application/Wave.php
+++ b/src/Wave/Framework/Application/Wave.php
@@ -150,18 +150,18 @@ class Wave
*/
public function run($factory, $input = null, $output = nul... | Fix for out-of-date Request and Response objects in main application instance | DaGhostman_codewave | train | php |
311171f5ed91ac4fb3872e298f21ef7b058e4354 | diff --git a/java/src/com/google/template/soy/passes/ResolveExpressionTypesCrossTemplatePass.java b/java/src/com/google/template/soy/passes/ResolveExpressionTypesCrossTemplatePass.java
index <HASH>..<HASH> 100644
--- a/java/src/com/google/template/soy/passes/ResolveExpressionTypesCrossTemplatePass.java
+++ b/java/src/c... | Turn back on a check that I accidently disabled
GITHUB_BREAKING_CHANGES=n/a
-------------
Created by MOE: <URL> | google_closure-templates | train | java |
0f8df959eb0fc6374df16716b3e2a8f26889f475 | diff --git a/lib/irc.js b/lib/irc.js
index <HASH>..<HASH> 100644
--- a/lib/irc.js
+++ b/lib/irc.js
@@ -180,6 +180,10 @@ function Client(server, nick, opt) {
});
break;
case "NICK":
+ if ( message.nick == self.nick )
+ // the user just change... | When a NICK command is received, update self.nick if needed.
This should fix #<I>, though I don't know if arbitrarily changing
self.nick in the middle of a session breaks other expectations about
the way the code works. | martynsmith_node-irc | train | js |
dfeca7573a89e209b1ba29ef5be3b03f0f472872 | diff --git a/soco/services.py b/soco/services.py
index <HASH>..<HASH> 100644
--- a/soco/services.py
+++ b/soco/services.py
@@ -408,8 +408,7 @@ class Service(object):
subscription.subscribe()
return subscription
- @staticmethod
- def _update_cache_on_event(event):
+ def _update_cache_on_even... | update_on_event should not be static
Causes problems with subclasses | amelchio_pysonos | train | py |
16240811182fe0a2674f4aef8b0fa19e94a21274 | diff --git a/app/models/product.rb b/app/models/product.rb
index <HASH>..<HASH> 100644
--- a/app/models/product.rb
+++ b/app/models/product.rb
@@ -73,4 +73,21 @@ class Product < ActiveRecord::Base
def self.list_tags
select('id,name').all.collect { |m| VirtualTag.new(m.id, m.name) }
end
+
+ scope :readable, ... | check if product is readable/syncable, sync mgt | Katello_katello | train | rb |
a6b2b661fc1dad7a37cc4fb32787745da68b345f | diff --git a/v4/internal/testutil/assert.go b/v4/internal/testutil/assert.go
index <HASH>..<HASH> 100644
--- a/v4/internal/testutil/assert.go
+++ b/v4/internal/testutil/assert.go
@@ -42,7 +42,6 @@ func AssertMetricValue(t *testing.T, g prometheus.Gatherer, n string, exp float6
t.Errorf("metric %s value do not matc... | v4/internal/assert - commented out code removed | piotrkowalczuk_promgrpc | train | go |
a26b64b7319f0a6ebc2bf589e257a0f878ded82b | diff --git a/pkg/node/node_address.go b/pkg/node/node_address.go
index <HASH>..<HASH> 100644
--- a/pkg/node/node_address.go
+++ b/pkg/node/node_address.go
@@ -41,8 +41,6 @@ var (
ipv6RouterAddress net.IP
ipv4AllocRange *cidr.CIDR
ipv6AllocRange *cidr.CIDR
- ipv4HealthAddress net.IP
- ipv6HealthAddre... | node: Remove unused ipv4HealthAddress and ipv6HealthAddress | cilium_cilium | train | go |
c85118d1aacb5236e5886493b72ca10d6a77c3f9 | diff --git a/src/components/TableBodyCell.js b/src/components/TableBodyCell.js
index <HASH>..<HASH> 100644
--- a/src/components/TableBodyCell.js
+++ b/src/components/TableBodyCell.js
@@ -30,10 +30,10 @@ const defaultBodyCellStyles = theme => ({
});
class TableBodyCell extends React.Component {
- handleClick = () =... | event available in onCellClick (#<I>) | gregnb_mui-datatables | train | js |
679e681fa769f9ce2089fe289a3b305b88afa507 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='python-cantrips',
- version='0.7.3',
+ version='0.7.4',
namespace_packages=['cantrips'],
packages=find_packages(),
url='https:/... | Update setup.py
Change the version to the next step | luismasuelli_python-cantrips | train | py |
c6981933c1bfc0b7a21a5fb3a5f4de4d109cde8e | diff --git a/src/main/java/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java b/src/main/java/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java
index <HASH>..<HASH> 100755
--- a/src/main/java/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java
+++ b/src/main/java/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java
@@ -347,7 +347,7 ... | fix error due to refactor from HashSets to BitSets, as reported by #<I> | mebigfatguy_fb-contrib | train | java |
b8574d111386883cba4ca29712f755da4b28ccd9 | diff --git a/reana_commons/config.py b/reana_commons/config.py
index <HASH>..<HASH> 100644
--- a/reana_commons/config.py
+++ b/reana_commons/config.py
@@ -55,7 +55,7 @@ OPENAPI_SPECS = {
port=os.getenv('WORKFLOW_CONTROLLER_SERVICE_PORT_HTTP', '5000')),
'reana_workflow_controller.json'),
'rean... | config: setting default reana-server url
* Setting default reana-server url for tests.
Connects reanahub/reana-client/issues/<I> | reanahub_reana-commons | train | py |
2c1e63b58292fd9837c64c351d52fac4a6795f83 | diff --git a/lib/resque_cleaner/server.rb b/lib/resque_cleaner/server.rb
index <HASH>..<HASH> 100644
--- a/lib/resque_cleaner/server.rb
+++ b/lib/resque_cleaner/server.rb
@@ -183,7 +183,7 @@ module ResqueCleaner
post "/cleaner_stale" do
load_library
cleaner.clear_stale
- redirect... | fix redirect when post to cleaner_stale action to keep resque base path | ono_resque-cleaner | train | rb |
d3d833e105dfb55c462b01714a85ce4154155e41 | diff --git a/packages/unleash-frontend-next/webpack.config.js b/packages/unleash-frontend-next/webpack.config.js
index <HASH>..<HASH> 100644
--- a/packages/unleash-frontend-next/webpack.config.js
+++ b/packages/unleash-frontend-next/webpack.config.js
@@ -16,7 +16,6 @@ module.exports = {
resolve: {
root: [... | trying to fix travis build by cleaning up webpack config | Unleash_unleash | train | js |
ac4c9cc9d86796f36c5d2cfa26a2780e1f4fc383 | diff --git a/ryu/lib/stplib.py b/ryu/lib/stplib.py
index <HASH>..<HASH> 100644
--- a/ryu/lib/stplib.py
+++ b/ryu/lib/stplib.py
@@ -1151,7 +1151,10 @@ class OfCtl_v1_2later(OfCtl_v1_0):
config = {ofproto_v1_2: PORT_CONFIG_V1_2,
ofproto_v1_3: PORT_CONFIG_V1_3}
- mask = 0b1111111
+ ... | stplib.py: Should wildcard non-relevant bits in the mask field of port mod message for OpenFlow <I>+. | osrg_ryu | train | py |
5093b7d1e53b190a9d607a7ccd53afa4be658561 | diff --git a/src/main/java/org/agmip/acmo/translators/AcmoTranslator.java b/src/main/java/org/agmip/acmo/translators/AcmoTranslator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/agmip/acmo/translators/AcmoTranslator.java
+++ b/src/main/java/org/agmip/acmo/translators/AcmoTranslator.java
@@ -1,5 +1,7 @@
pack... | Change excute method return type from boolean to File | agmip_acmo | train | java |
b3e15ac5dcc7a15ba79d1275515dddd758058a7f | diff --git a/injector.py b/injector.py
index <HASH>..<HASH> 100644
--- a/injector.py
+++ b/injector.py
@@ -894,12 +894,13 @@ class AssistedBuilderImplementation(object):
binder = self.injector.binder
binding = binder.get_binding(None, key)
provider = binding.provider
- try:
- ... | Make AssistedBuilder support CallableProvider. | alecthomas_injector | train | py |
5abebfea73eaec2ae11fb33baa5b89a86c13288a | diff --git a/lib/aptly/publishable.rb b/lib/aptly/publishable.rb
index <HASH>..<HASH> 100644
--- a/lib/aptly/publishable.rb
+++ b/lib/aptly/publishable.rb
@@ -1,11 +1,13 @@
module Aptly
+ # Abstract "type" of all publishable entities. Publishable entities
+ # are everything that can act as Source for a PublishedRepo... | fix some additional doc warnings
somehow referncing Array#each doesn't properly resolve and cause a warning,
drop it as reference | KDEJewellers_aptly-api | train | rb,rb |
61fe50bd3895c4a963e56962fb278d82e9f9d8a6 | diff --git a/lib/satisfaction.rb b/lib/satisfaction.rb
index <HASH>..<HASH> 100644
--- a/lib/satisfaction.rb
+++ b/lib/satisfaction.rb
@@ -111,7 +111,9 @@ class Satisfaction
def url(path, query_string={})
qs = query_string.map{|kv| URI.escape(kv.first.to_s) + "=" + URI.escape(kv.last.to_s)}.join("&")
- U... | Don't include an empty querystring if no params are provided (works around issue with latest oauth gem) | satisfaction_ruby-satisfaction | train | rb |
3b2a64f0296e7d11d986b330a67e3067d0735af7 | diff --git a/tests/test_watch.py b/tests/test_watch.py
index <HASH>..<HASH> 100644
--- a/tests/test_watch.py
+++ b/tests/test_watch.py
@@ -1,4 +1,5 @@
import dramatiq
+import os
import platform
import pytest
import time
@@ -20,6 +21,7 @@ def write_loaded_at(filename):
f.write(str(loaded_at))
+@pytest.m... | chore: skip watch test on travis | Bogdanp_dramatiq | train | py |
48fd08233886fefb2f3ccb3fc4dcc14b15dc67d2 | diff --git a/classes/mongo/database.php b/classes/mongo/database.php
index <HASH>..<HASH> 100644
--- a/classes/mongo/database.php
+++ b/classes/mongo/database.php
@@ -97,7 +97,7 @@ class Mongo_Database {
if ($config === NULL)
{
// Load the configuration for this database
- $config = Kohana... | Updated Kohana::$config loading to work with Kohana <I> | colinmollenhour_mongodb-php-odm | train | php |
6cdfbfbde683c4a84362df54806838b413635212 | diff --git a/btc-e.js b/btc-e.js
index <HASH>..<HASH> 100644
--- a/btc-e.js
+++ b/btc-e.js
@@ -78,15 +78,19 @@ BTCE.prototype.makeRequest = function(method, params, callback) {
params.nonce = Math.round((new Date()).getTime() / 1000);
}
- params.method = method;
- var queryString = querystring.stringify(par... | Refactor authenticated request form data passing
* Don't alter params object passed in
* Remove double stringification of form data, once by us to get string to sign with and then by request to use as the body. | pskupinski_node-btc-e | train | js |
3bebb6941e0b9a8990ffc1eab99ed3b954698a01 | diff --git a/src/Repository/OMA/AlacrityGroupAdminRepository.php b/src/Repository/OMA/AlacrityGroupAdminRepository.php
index <HASH>..<HASH> 100644
--- a/src/Repository/OMA/AlacrityGroupAdminRepository.php
+++ b/src/Repository/OMA/AlacrityGroupAdminRepository.php
@@ -1707,6 +1707,7 @@ class AlacrityGroupAdminRepository ... | added verifier_id on create verfier for edit | OliveMedia_academyhq-api-client | train | php |
01902c712f3ef626a0483293851a7dd75597d4f9 | diff --git a/pnc_cli/utils.py b/pnc_cli/utils.py
index <HASH>..<HASH> 100644
--- a/pnc_cli/utils.py
+++ b/pnc_cli/utils.py
@@ -25,7 +25,13 @@ from pnc_cli.swagger_client.rest import ApiException
__author__ = 'thauser'
-CONFIG_LOCATION = os.path.expanduser("~") + "/.config/pnc-cli/"
+envconfig = os.environ.get('PNC... | [NCL-<I>] Allow override config location using env variable
When PNC_CONFIG_LOCATION environment variable is set, this is
folder where pnc-cli will look for its configuration. Otherwise
it looks into ~/.config/pnc-cli/. | project-ncl_pnc-cli | train | py |
d078c5f12dfbf9e2788d0a96420a5e605497ea05 | diff --git a/safe/utilities/help.py b/safe/utilities/help.py
index <HASH>..<HASH> 100644
--- a/safe/utilities/help.py
+++ b/safe/utilities/help.py
@@ -39,6 +39,8 @@ def show_help(message=None):
"""
help_path = mktemp('.html')
- with open(help_path, 'w+') as f:
- f.write(get_help_html(message))
- ... | Fix help not showing in MacOS. | inasafe_inasafe | train | py |
60c33be87c291e6008b1d0cb4e9397d928902408 | diff --git a/lib/active_record/connection_adapters/mysql2_adapter.rb b/lib/active_record/connection_adapters/mysql2_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/connection_adapters/mysql2_adapter.rb
+++ b/lib/active_record/connection_adapters/mysql2_adapter.rb
@@ -606,12 +606,11 @@ module ActiveRecord... | multiple variable assignments can done in a single query | brianmario_mysql2 | train | rb |
390ab50be243fe021d717a327d233ea0f6b0e06d | diff --git a/openquake/engine/calculators/risk/event_based/core.py b/openquake/engine/calculators/risk/event_based/core.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/risk/event_based/core.py
+++ b/openquake/engine/calculators/risk/event_based/core.py
@@ -144,14 +144,16 @@ def save_individual_outputs... | minor refactoring
Former-commit-id: cf1fee6f<I>db<I>a3aaac<I>f<I>d2cd<I>d6 | gem_oq-engine | train | py |
00dcf330983440a48ff144e092e5a020d5669617 | diff --git a/src/PeskyCMF/public/js/cmf.helpers.js b/src/PeskyCMF/public/js/cmf.helpers.js
index <HASH>..<HASH> 100644
--- a/src/PeskyCMF/public/js/cmf.helpers.js
+++ b/src/PeskyCMF/public/js/cmf.helpers.js
@@ -487,9 +487,12 @@ FormHelper.inputsDisablers.isInputMustBeDisabled = function (disablerConfig) {
... | JS - scaffold form - fixed disabler crash | swayok_PeskyCMF | train | js |
e49191f54dbf2cb33695be4796c0801b36c42ca0 | diff --git a/plash/core.py b/plash/core.py
index <HASH>..<HASH> 100644
--- a/plash/core.py
+++ b/plash/core.py
@@ -291,17 +291,24 @@ def execute(
os.utime(join(layer), None)
if build_only:
- print('*** plash: Build is ready')
+ print('*** plash: Build is ready at: {}'.format(layers[-1]))
... | experimental setgid and setuid to user that called it | ihucos_plash | train | py |
1cb1b05af8903a5811ef8a274de747b61656aeaf | diff --git a/src/main/java/org/telegram/mtproto/schedule/Scheduller.java b/src/main/java/org/telegram/mtproto/schedule/Scheduller.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/telegram/mtproto/schedule/Scheduller.java
+++ b/src/main/java/org/telegram/mtproto/schedule/Scheduller.java
@@ -431,7 +431,7 @@ publi... | removing package from scheduller when tcp channel dies | telegram-s_telegram-mt | train | java |
65e7e9be315f20666e207bbf1a0911257b983554 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ for root, _, files in os.walk("svo_filters"):
setup(
name='svo_filters',
- version='0.4.2',
+ version='0.4.3',
description='A Python wrapper for the SVO Filter Profile Service',
packages=... | Update setup.py
Bump to <I> | hover2pi_svo_filters | train | py |
a068238644b072caeb4c2de81d09a15d09c8a6d5 | diff --git a/lib/Elastica/ClientConfiguration.php b/lib/Elastica/ClientConfiguration.php
index <HASH>..<HASH> 100644
--- a/lib/Elastica/ClientConfiguration.php
+++ b/lib/Elastica/ClientConfiguration.php
@@ -28,7 +28,7 @@ class ClientConfiguration
'transport' => null,
'persistent' => true,
'ti... | Remove duplicated "timeout" comment. (#<I>)
I think the `timeout` term is duplicated. I just removed one form comment. | ruflin_Elastica | train | php |
1aa549dd75d4089c466fc31034be847c29417f9c | diff --git a/sculptor-example/helloworld-example/helloworld/src/test/java/org/sculptor/example/helloworld/milkyway/serviceapi/PlanetServiceTest.java b/sculptor-example/helloworld-example/helloworld/src/test/java/org/sculptor/example/helloworld/milkyway/serviceapi/PlanetServiceTest.java
index <HASH>..<HASH> 100644
--- a... | fixes refactoring of expected exception into Junit annotation | sculptor_sculptor | train | java |
ff88970f4666c669f0d03615aee93351cb613a4b | diff --git a/perceval/backends/gerrit.py b/perceval/backends/gerrit.py
index <HASH>..<HASH> 100644
--- a/perceval/backends/gerrit.py
+++ b/perceval/backends/gerrit.py
@@ -53,7 +53,7 @@ class Gerrit(Backend):
:param origin: identifier of the repository; when `None` or an
empty string are given, it will be ... | [gerrit] Include 'category' on metadata fields
Backend version increased to '<I>'. | chaoss_grimoirelab-perceval | train | py |
1811f717b04b14ebb40c5c9572229d5f7c06c0d7 | diff --git a/Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Command/NodeIndexCommandController.php b/Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Command/NodeIndexCommandController.php
index <HASH>..<HASH> 100644
--- a/Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Command/NodeIndexCommandC... | BUGFIX: Unneeded dependency on TYPO3.Neos package | Flowpack_Flowpack.ElasticSearch.ContentRepositoryAdaptor | train | php |
432adec7cf50b532697b8a12edb5f97ca169d13d | diff --git a/indra/assemblers/html/assembler.py b/indra/assemblers/html/assembler.py
index <HASH>..<HASH> 100644
--- a/indra/assemblers/html/assembler.py
+++ b/indra/assemblers/html/assembler.py
@@ -576,7 +576,7 @@ def id_url(ag):
# Return identifier URLs in a prioritized order
for db_name in ('FPLX', 'HGNC',... | Add CHEMBL to list of links out | sorgerlab_indra | train | py |
5216f644427f5a255a3bd37baabfb5a8edbd52a4 | diff --git a/lib/builderator/patch/thor-actions.rb b/lib/builderator/patch/thor-actions.rb
index <HASH>..<HASH> 100644
--- a/lib/builderator/patch/thor-actions.rb
+++ b/lib/builderator/patch/thor-actions.rb
@@ -30,6 +30,7 @@ class Thor
IO.popen(command, 'r+') do |io|
io.write(input)
+ io.close_... | Fix builderator to work with newer packer versions
The latest set of packer versions (<I> for sure, not tested with
others) require that stdin be closed before processing a packer config
file from stdin. Older versions didn't seem to care.
We should close stdin when done sending data no matter what packer
expects so... | rapid7_builderator | train | rb |
d962fd471bbc583a628f766bb8ac8e31338dd544 | diff --git a/lib/attr_encrypted_pgcrypto/version.rb b/lib/attr_encrypted_pgcrypto/version.rb
index <HASH>..<HASH> 100644
--- a/lib/attr_encrypted_pgcrypto/version.rb
+++ b/lib/attr_encrypted_pgcrypto/version.rb
@@ -1,3 +1,3 @@
module AttrEncryptedPgcrypto
- VERSION = "1.3.1"
+ VERSION = "3.1.0"
end | Bump to Version <I>
Maintain version number parity with newest tested `attr_encrypted` version | gabetax_attr_encrypted_pgcrypto | train | rb |
09b0cf138c0853b9d8fa93b98163058ed405d32d | diff --git a/test/test_helper.rb b/test/test_helper.rb
index <HASH>..<HASH> 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -319,15 +319,10 @@ class GeocoderTestCase < Test::Unit::TestCase
def setup
super
+ Geocoder::Configuration.instance.set_defaults
Geocoder.configure(:maxmind => {:se... | Don't re-init config, just set to defaults. | alexreisner_geocoder | train | rb |
92392337ad728838df8a75993ba1428bf81c60af | diff --git a/grifts/release.go b/grifts/release.go
index <HASH>..<HASH> 100644
--- a/grifts/release.go
+++ b/grifts/release.go
@@ -5,6 +5,7 @@ import (
"encoding/json"
"errors"
"fmt"
+ "io"
"io/ioutil"
"net/http"
"os"
@@ -129,6 +130,26 @@ func commitAndPush(v string) error {
return cmd.Run()
}
+func up... | update gobuffalo.io when there is a new release | gobuffalo_buffalo | train | go |
17ca2b1db4dd1f060215c5f2b817b6dd5ffed0f9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -24,8 +24,8 @@ function solve(g) {
while(queue.length > 0) {
// Extract front of queue and add it to topological order
- let u = queue.pop();
- topOrder.push(u);
+ let u = queue.shift();
+ ... | fixed solve() returning result in the wrong order | haavistu_dependency-solver | train | js,js |
8c5c64519eb2649962b1a3a0cfc486756d2f70b5 | diff --git a/barcode/upc.py b/barcode/upc.py
index <HASH>..<HASH> 100755
--- a/barcode/upc.py
+++ b/barcode/upc.py
@@ -48,7 +48,10 @@ class UniversalProductCodeA(Barcode):
__str__ = __unicode__
def get_fullcode(self):
- return self.upc
+ if self.ean:
+ return '0' + self.upc
+ ... | finish restoring the UPC make_ean flag | WhyNotHugo_python-barcode | train | py |
f55a6151dd77da990f07cf89b0d9a6919c3135ba | diff --git a/src/extensions/renderer/canvas/arrow-shapes.js b/src/extensions/renderer/canvas/arrow-shapes.js
index <HASH>..<HASH> 100644
--- a/src/extensions/renderer/canvas/arrow-shapes.js
+++ b/src/extensions/renderer/canvas/arrow-shapes.js
@@ -49,7 +49,7 @@ function triangleTee( context, trianglePoints, teePoints ){... | triangle-circle renamed to circle-triangle | cytoscape_cytoscape.js | train | js |
2c4516dcf2db59727eec9180886fa39cc9f78a1a | diff --git a/core/src/main/java/hudson/Util.java b/core/src/main/java/hudson/Util.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/Util.java
+++ b/core/src/main/java/hudson/Util.java
@@ -302,7 +302,16 @@ public class Util {
public static void deleteRecursive(File dir) throws IOException {
... | [FIXED JENKINS-<I>] try to work extra hard before giving up the file deletion. | jenkinsci_jenkins | train | java |
81b024325c811854afbc97c494e34034ad4cfe90 | diff --git a/traversal.go b/traversal.go
index <HASH>..<HASH> 100644
--- a/traversal.go
+++ b/traversal.go
@@ -12,12 +12,33 @@ func (this *Selection) Find(selector string) *Selection {
return pushStack(this, findWithContext(selector, this.Nodes...))
}
+// FindSelection() gets the descendants of each element in the... | add FindSelection and FindNodes, needs tests | PuerkitoBio_goquery | train | go |
f7cefa28a493edc3f0bae749b4953154e9516154 | diff --git a/aws/resource_aws_qldb_stream_test.go b/aws/resource_aws_qldb_stream_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_qldb_stream_test.go
+++ b/aws/resource_aws_qldb_stream_test.go
@@ -66,11 +66,11 @@ func waitForQLDBStreamCancellation(conn *qldb.QLDB, ledgerName string, streamID
Pending: []st... | Move the other terminal state to the appropritate block | terraform-providers_terraform-provider-aws | train | go |
1985e84383540100d797579f88c6d1ce072e1463 | diff --git a/spec/link_spec.rb b/spec/link_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/link_spec.rb
+++ b/spec/link_spec.rb
@@ -6,12 +6,9 @@ require 'spec_helper'
#
describe EvenDoors::Link do
#
- before(:each) do
- EvenDoors::Spin.clear!
- end
- #
it "from particle data" do
- p = ... | specs: Link adapt to non static way | jeremyz_edoors-ruby | train | rb |
6861e21d9e747506f34cb8dba635e65845961d6b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -231,7 +231,9 @@ Server.prototype._onAccept = function (clientSocketId) {
server: self,
id: clientSocketId
})
- self.emit('connection', acceptedSocket)
+ acceptedSocket.on('connect', function () {
+ self.emit... | server should emit 'connection' after socket is connected
otherwise it won’t have info like `remoteAddress`, etc. set on it yet | feross_chrome-net | train | js |
b4d2e4c1f97385853d0c034294b3c8d6fe182127 | diff --git a/src/ansiblelint/file_utils.py b/src/ansiblelint/file_utils.py
index <HASH>..<HASH> 100644
--- a/src/ansiblelint/file_utils.py
+++ b/src/ansiblelint/file_utils.py
@@ -199,8 +199,7 @@ class Lintable:
return default
def _populate_content_cache_from_disk(self) -> None:
- with open(se... | Use pathlib methods instead of `open()` in Lintable (#<I>)
* Use pathlib's open() method in Lintable
* Use pathlib's write_text() method in Lintable
* Use pathlib's read_text() method in Lintable
* specify encoding when writing file. | ansible_ansible-lint | train | py |
318fc18787205665cbaa9614a80e594d6306c97d | diff --git a/lib/paramedic.js b/lib/paramedic.js
index <HASH>..<HASH> 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -158,7 +158,7 @@ ParamedicRunner.prototype.installPlugins = function () {
this.pluginsManager.installPlugins(this.config.getPlugins());
this.pluginsManager.installTestsForExistingPlugi... | Removed unnecessary 'cordova-plugin-device' from the list of additionally installed plugins | ratson_cordova-testbed | train | js |
124d32aaf2e031a6e7bfcdbcfa0d75dd5de4d898 | diff --git a/agent/agent.go b/agent/agent.go
index <HASH>..<HASH> 100644
--- a/agent/agent.go
+++ b/agent/agent.go
@@ -100,6 +100,10 @@ func (a *Agent) Purge() {
// half of the provided ttl. Stop reporting when the provided
// channel is closed.
func (a *Agent) Heartbeat(ttl time.Duration, stop chan bool) {
+ // Exp... | fix(agent): Push machine state immediately when machine starts | coreos_fleet | train | go |
6d732e42ba37d893c9bac28f4b69bc1e24d81946 | diff --git a/src/Context/TqContext.php b/src/Context/TqContext.php
index <HASH>..<HASH> 100644
--- a/src/Context/TqContext.php
+++ b/src/Context/TqContext.php
@@ -135,7 +135,13 @@ class TqContext extends RawTqContext
*/
public function workWithElementsInRegion($selector)
{
- $this->setWorkingElem... | Allow to use "head" and "html" as working elements | BR0kEN-_TqExtension | train | php |
5c67a472e492d1742a578d0442afdb371230772a | diff --git a/scripts/artifact_tagging.js b/scripts/artifact_tagging.js
index <HASH>..<HASH> 100755
--- a/scripts/artifact_tagging.js
+++ b/scripts/artifact_tagging.js
@@ -24,6 +24,7 @@ if (isNarrow && readlineSync.keyInYN('Widen @uirouter/core dependency from ' + c
}
const YYYYMMDD = (function() {
+ var date = new... | chore(artifacts): fix date logic | ui-router_angular | train | js |
f503b8657bcff31eb1fa7fc3c0003793c196f51f | diff --git a/app/models/edition.rb b/app/models/edition.rb
index <HASH>..<HASH> 100644
--- a/app/models/edition.rb
+++ b/app/models/edition.rb
@@ -203,10 +203,6 @@ class Edition
new_edition[attr] = read_attribute(attr)
end
- if target_class == AnswerEdition and self.is_a?(LicenceEdition)
- new_edi... | Remove duplication of licence_overview and overview
It is already copied to the new edition's body. | alphagov_govuk_content_models | train | rb,rb |
7595c4880d5d5258f18926e65e840d9d1c5fb521 | diff --git a/lib/tinify.rb b/lib/tinify.rb
index <HASH>..<HASH> 100644
--- a/lib/tinify.rb
+++ b/lib/tinify.rb
@@ -13,6 +13,11 @@ module Tinify
attr_accessor :app_identifier
attr_accessor :compression_count
+ def key=(key)
+ @key = key
+ @client = nil
+ end
+
def from_file(path)
... | Remove client instance when key is reset. | tinify_tinify-ruby | train | rb,rb |
e18bfc46b408b0a093890fe508c51b2a3c289de1 | diff --git a/cereslib/_version.py b/cereslib/_version.py
index <HASH>..<HASH> 100644
--- a/cereslib/_version.py
+++ b/cereslib/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.1.0"
+__version__ = "0.1.1" | Updating version number for new pypi package | chaoss_grimoirelab-cereslib | train | py |
536d0d3d4cb6ded07bc4f07b403eb004956c8775 | diff --git a/resource_aws_route53_record.go b/resource_aws_route53_record.go
index <HASH>..<HASH> 100644
--- a/resource_aws_route53_record.go
+++ b/resource_aws_route53_record.go
@@ -261,8 +261,15 @@ func resourceAwsRoute53RecordBuildSet(d *schema.ResourceData) (*route53.Resource
recs := d.Get("records").(*schema.Set... | provider/aws: Fix issue with Route<I> and TXT records | terraform-providers_terraform-provider-aws | train | go |
fd3c769fd11fea9a95d375d3c5d02675c8bb7b88 | diff --git a/codec/src/main/java/io/netty/handler/codec/compression/Lz4FrameEncoder.java b/codec/src/main/java/io/netty/handler/codec/compression/Lz4FrameEncoder.java
index <HASH>..<HASH> 100644
--- a/codec/src/main/java/io/netty/handler/codec/compression/Lz4FrameEncoder.java
+++ b/codec/src/main/java/io/netty/handler/... | Use the correct readerIndex() when handle BLOCK_TYPE_NON_COMPRESSED in Lz4FrameEncoder (#<I>)
Motivation:
We need to use the readerIndex() as offset when handle BLOCK_TYPE_NON_COMPRESSED as it might not be 0 in Lz4FrameEncoder.
Modifications:
Correctly use readerIndex()
Result:
Correctly handle BLOCK_TY... | netty_netty | train | java |
d57aaf8dc282151ab9d7f83da262292a5c6a39a5 | diff --git a/tus.py b/tus.py
index <HASH>..<HASH> 100644
--- a/tus.py
+++ b/tus.py
@@ -4,6 +4,11 @@ import base64
import logging
import argparse
+try:
+ from urllib.parse import urlparse, urlunparse
+except ImportError:
+ from urlparse import urlparse, urlunparse
+
import requests
LOG_LEVEL = logging.INFO... | Handle relative file location
As it says in spec location MAY be absolute or relative,
check if location is relative, an in this case make an absolute
location based on tus_endpoint | cenkalti_tus.py | train | py |
0379b0cb3f32b798cd62599589d51afe426052ba | diff --git a/concrete/src/Updater/Migrations/Migrations/Version20160725000000.php b/concrete/src/Updater/Migrations/Migrations/Version20160725000000.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Updater/Migrations/Migrations/Version20160725000000.php
+++ b/concrete/src/Updater/Migrations/Migrations/Version20160725... | Fix error about desktop draft list not being a block when upgrading from <I> | concrete5_concrete5 | train | php |
3ea327fcbf7e5b1943bfce7a81b42260a04dfce5 | diff --git a/claripy/backends/backend_z3.py b/claripy/backends/backend_z3.py
index <HASH>..<HASH> 100644
--- a/claripy/backends/backend_z3.py
+++ b/claripy/backends/backend_z3.py
@@ -86,8 +86,8 @@ def _z3_decl_name_str(ctx, decl):
class SmartLRUCache(LRUCache):
- def __init__(self, maxsize, missing=None, getsiz... | We are not using LRUCache.__missing__ anyway. (#<I>)
* We are not using LRUCache.__missing__ anyway.
* Unpin cachetools. | angr_claripy | train | py,py |
daadde34745d32942b3b5fa44ed98c35910e1445 | diff --git a/src/foremast/pipeline/construct_pipeline_block.py b/src/foremast/pipeline/construct_pipeline_block.py
index <HASH>..<HASH> 100644
--- a/src/foremast/pipeline/construct_pipeline_block.py
+++ b/src/foremast/pipeline/construct_pipeline_block.py
@@ -75,8 +75,8 @@ def construct_pipeline_block(env='',
dat... | added condition to switch HC to EC2 in case there is "eureka_enabled" in runway files. | foremast_foremast | train | py |
348c6cdf04650de1de0bcacf847006fc4c6380d0 | diff --git a/src/Multilingual.php b/src/Multilingual.php
index <HASH>..<HASH> 100644
--- a/src/Multilingual.php
+++ b/src/Multilingual.php
@@ -91,8 +91,7 @@ class Multilingual extends Component implements BootstrapInterface
$app->on(Application::EVENT_BEFORE_REQUEST, function () {
$this->retrieveI... | cookie language is needed in urlmanager | DevGroup-ru_yii2-multilingual | train | php,php |
b490b26ee8196c23217a3551ffcf29193ead62c0 | diff --git a/tournaments/tournaments.go b/tournaments/tournaments.go
index <HASH>..<HASH> 100644
--- a/tournaments/tournaments.go
+++ b/tournaments/tournaments.go
@@ -35,7 +35,7 @@ type Tournament struct {
Info Info `json:"info"`
Noshows []Absentee `json:"noshows"`
Result Result `json:"result"`
- Pl... | Make played field a bool, we don't need to know when it was played. If tournaments change date we should update the scheduled date instead. So, played just records if it's been played. | ckpt_backend-services | train | go |
38949798598cbd0940b029c986996183bd0efada | diff --git a/faq-bundle/src/Resources/contao/models/FaqModel.php b/faq-bundle/src/Resources/contao/models/FaqModel.php
index <HASH>..<HASH> 100644
--- a/faq-bundle/src/Resources/contao/models/FaqModel.php
+++ b/faq-bundle/src/Resources/contao/models/FaqModel.php
@@ -126,7 +126,7 @@ class FaqModel extends \Model
* @p... | [Faq] Fix the phpDoc comments and type hints. | contao_contao | train | php |
a776a1c9e4dc8312d31fd2aaff853dc11a2aad31 | diff --git a/lib/zenaton/services/http.rb b/lib/zenaton/services/http.rb
index <HASH>..<HASH> 100644
--- a/lib/zenaton/services/http.rb
+++ b/lib/zenaton/services/http.rb
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+require 'json'
require 'net/http'
require 'zenaton/exceptions'
diff --git a/lib/zenaton/service... | Require json (#<I>) | zenaton_zenaton-ruby | train | rb,rb |
56f3c9a328f91d7bbd6e293e7a80bd56a9b19541 | diff --git a/examples/calculator.js b/examples/calculator.js
index <HASH>..<HASH> 100644
--- a/examples/calculator.js
+++ b/examples/calculator.js
@@ -19,7 +19,7 @@ var Calculator = elf.Language.clone(function () {
return node;
})
-
+
this.infix ("(", 80, function (node, first) {
node.value = "cal... | sublime insists on removing indentation from empty lines | pmh_elf | train | js |
c6abf6915b2a552a273f13c8c0147216a269cdca | diff --git a/src/main/java/nz/ac/auckland/integration/testing/specification/OrchestratedTestSpecification.java b/src/main/java/nz/ac/auckland/integration/testing/specification/OrchestratedTestSpecification.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nz/ac/auckland/integration/testing/specification/Orchestrated... | improved message wait time to handle long send interval | uoa-group-applications_morc | train | java |
cf0a4374d62ccbdaae4645e310d3af591bf641d5 | diff --git a/js/lib/ext.Cite.js b/js/lib/ext.Cite.js
index <HASH>..<HASH> 100644
--- a/js/lib/ext.Cite.js
+++ b/js/lib/ext.Cite.js
@@ -32,7 +32,7 @@ function processExtSource(manager, extToken, opts) {
// requires addressing.
//
// Strip all leading white-space
- var wsMatch = content.match(/^(\s*)((?:.|\n)*)$/),... | (Bug <I>) Fixed bad regexp
* There is another unrelated issue on that page ==> It has
a couple instances of <ref>text<ref> which slurps the entire
rest of the page into a <I>K string (on which the regexp failed).
Change-Id: Ia4c<I>b<I>de5bfe9b<I>c0efaa8c6cb<I>ea0 | wikimedia_parsoid | train | js |
7082c3537cb2509031c075c230db248db5d54c56 | diff --git a/lib/aws-operations/mobile-api-content-generator.js b/lib/aws-operations/mobile-api-content-generator.js
index <HASH>..<HASH> 100644
--- a/lib/aws-operations/mobile-api-content-generator.js
+++ b/lib/aws-operations/mobile-api-content-generator.js
@@ -24,6 +24,7 @@ function generateContents(projectInfo, back... | Fix backend-build folder missing problem | aws_awsmobile-cli | train | js |
37acf93ea3932a080fca56cb7f39cd42b8b4fc73 | diff --git a/dpark/broadcast.py b/dpark/broadcast.py
index <HASH>..<HASH> 100644
--- a/dpark/broadcast.py
+++ b/dpark/broadcast.py
@@ -284,6 +284,7 @@ class P2PBroadcastManager(BroadcastManager):
if avail:
req.recv_pyobj()
req.close()
+ self.server_thread = None
_manager = P2P... | Bugfix: set broadcast server thread to None | douban_dpark | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.