hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
6b2540d51f686dcdfaac8dbbc8565eaa1f73fc1b | diff --git a/synapse/axon.py b/synapse/axon.py
index <HASH>..<HASH> 100644
--- a/synapse/axon.py
+++ b/synapse/axon.py
@@ -1038,9 +1038,10 @@ class Axon(s_cell.Cell):
CLONE_TIMEOUT)
await asyncio.sleep(CLONE_TIMEOUT)
except Exception:
+ logger... | Teardown cleanup for base.py; correct axon schedCoroSafe to schedCallSafe; Add some more error logging. | vertexproject_synapse | train |
f3de8d02102bce99a60fc3cfdb6b7c090a7eb90b | diff --git a/test/extended/util/cluster/cluster.go b/test/extended/util/cluster/cluster.go
index <HASH>..<HASH> 100644
--- a/test/extended/util/cluster/cluster.go
+++ b/test/extended/util/cluster/cluster.go
@@ -5,11 +5,12 @@ import (
"encoding/json"
"fmt"
"io/ioutil"
- "k8s.io/apimachinery/pkg/runtime/schema"
"... | Set provider name when platform is vSphere
Currently, most storage tests are skipped because the provider
is not properly set on vSphere. | openshift_origin | train |
9f8ab3a3dee6d90ce6faa63e7b731121526fc027 | diff --git a/basil/HL/si570.py b/basil/HL/si570.py
index <HASH>..<HASH> 100644
--- a/basil/HL/si570.py
+++ b/basil/HL/si570.py
@@ -10,7 +10,6 @@ import logging
from basil.HL.HardwareLayer import HardwareLayer
from basil.RL.StdRegister import StdRegister
-
logger = logging.getLogger(__name__)
@@ -41,7 +40,7 @@ ... | BUG: Fixed comparator in order to go below default frequency | SiLab-Bonn_basil | train |
fc371366ffab84164e5aefaecdca3d8ba2dd8dd7 | diff --git a/src/zugbruecke/core/data/memory.py b/src/zugbruecke/core/data/memory.py
index <HASH>..<HASH> 100644
--- a/src/zugbruecke/core/data/memory.py
+++ b/src/zugbruecke/core/data/memory.py
@@ -141,26 +141,22 @@ class memory_class():
return memory_handle
- def __adjust_wchar_length__(self, in_byte_list, old... | unicode wchar length fix works with bytes instead of lists | pleiszenburg_zugbruecke | train |
6302d3b0c707bb625ddc20ccc088e8590d99eefc | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -123,6 +123,12 @@ function DiscordClient(options) {
nonce: Math.floor(Math.random() * Number.MAX_SAFE_INTEGER),
}
}
+ function cacheMessage(channel, message) {
+ if (!messageCache[channel]) messageCac... | New Emitter, support for camelCase events, e.g. messageUpdate
And added messageUpdate. | izy521_discord.io | train |
d4c56efc1db9ba9e161640e213a1442a68327ccb | diff --git a/libsubmit/providers/condor/condor.py b/libsubmit/providers/condor/condor.py
index <HASH>..<HASH> 100644
--- a/libsubmit/providers/condor/condor.py
+++ b/libsubmit/providers/condor/condor.py
@@ -54,7 +54,7 @@ class Condor(ExecutionProvider):
"scriptDir" : #{Description : Relative or absolute... | Updating docs on scriptDir config option being a requirement without default | Parsl_libsubmit | train |
826f27f43e4fffeb20f7e04b7180ef04d04a0a4d | diff --git a/app/controllers/patients_controller.rb b/app/controllers/patients_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/patients_controller.rb
+++ b/app/controllers/patients_controller.rb
@@ -77,7 +77,8 @@ class PatientsController < ApplicationController
:patient_medications_attributes => ... | Added esrf_info nested attributes to patient white list | airslie_renalware-core | train |
4d9b2da5f3e931db6293489ecbbc7ac07857a7cb | diff --git a/railties/lib/rails/commands/console.rb b/railties/lib/rails/commands/console.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/commands/console.rb
+++ b/railties/lib/rails/commands/console.rb
@@ -48,5 +48,5 @@ end
# Has to set the RAILS_ENV before config/application is required
if ARGV.first && !... | "rails console t" must not load "production" but "test" | rails_rails | train |
d33caf611e53bd090a975215d41564c900550c5d | diff --git a/src/Goetas/Twital/SourceAdapter/XHTMLAdapter.php b/src/Goetas/Twital/SourceAdapter/XHTMLAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Goetas/Twital/SourceAdapter/XHTMLAdapter.php
+++ b/src/Goetas/Twital/SourceAdapter/XHTMLAdapter.php
@@ -2,6 +2,7 @@
namespace Goetas\Twital\SourceAdapter;
use Goetas... | Fixed loading xml source and improved error messages | goetas_twital | train |
8bec8d5e9a7b56678634178f61f583683e26c57c | diff --git a/python-package/xgboost/core.py b/python-package/xgboost/core.py
index <HASH>..<HASH> 100644
--- a/python-package/xgboost/core.py
+++ b/python-package/xgboost/core.py
@@ -1175,6 +1175,11 @@ class Booster(object):
"""
Save the model to a file.
+ The model is saved in an XGBoost int... | Better doc for save_model() / load_model() (#<I>)
Be clear that they do not save Python-specific attributes | dmlc_xgboost | train |
385c70f8b67ddd749ddbdbe47071127d9b886e27 | diff --git a/remote.go b/remote.go
index <HASH>..<HASH> 100644
--- a/remote.go
+++ b/remote.go
@@ -1252,7 +1252,9 @@ func (wd *remoteWD) Log(typ log.Type) ([]log.Message, error) {
val := make([]log.Message, len(c.Value))
for i, v := range c.Value {
val[i] = log.Message{
- Timestamp: time.Unix(0, v.Timestamp*10... | Bugfix: Properly convert Chrome log timestamps
Issue #<I> | tebeka_selenium | train |
90025b3289c5324fe8440992f125b3a693c2c460 | diff --git a/tests/Message/TaskMessageTest.php b/tests/Message/TaskMessageTest.php
index <HASH>..<HASH> 100644
--- a/tests/Message/TaskMessageTest.php
+++ b/tests/Message/TaskMessageTest.php
@@ -56,10 +56,10 @@ class TaskMessageTest extends MessageTestCase
public function consumeMessageData()
{
retur... | Increase chance of getting bug for random path reducer | tienvx_mbt-bundle | train |
36c17bad7494382e3cb35bbbc8f9f18974c58b82 | diff --git a/code.js b/code.js
index <HASH>..<HASH> 100644
--- a/code.js
+++ b/code.js
@@ -904,6 +904,16 @@ Code.init = function (toolbox) {
onresize();
};
+Code.initHandlebars = function () {
+ Handlebars.registerHelper('if_eq', function (a, b, opts) {
+ if (a == b) {
+ return opts.fn(this);
+ } else... | Fix link to tutorials according to user’s language | webduinoio_webduino-blockly | train |
28198b2ff0f7429671ed679ecb705e2811bafab5 | diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js
index <HASH>..<HASH> 100755
--- a/plugin/markdown/markdown.js
+++ b/plugin/markdown/markdown.js
@@ -269,38 +269,60 @@
}
/**
+ * Check if a node value has the attributes pattern.
+ * If yes, extract it and add that value as one or several att... | Add attributes extracted from an attribute.
Allows to add attributes to element of an attribute which contains
the attribute pattern. | hakimel_reveal.js | train |
8c54affb3a38d7e0478fd48bfa786fd18d729dfe | diff --git a/src/Moxl/Xec/Action/Pubsub/GetItem.php b/src/Moxl/Xec/Action/Pubsub/GetItem.php
index <HASH>..<HASH> 100644
--- a/src/Moxl/Xec/Action/Pubsub/GetItem.php
+++ b/src/Moxl/Xec/Action/Pubsub/GetItem.php
@@ -93,6 +93,9 @@ class GetItem extends Errors
'node' => $this->_askreply['nod... | Re-add a removed event 'post' feature | movim_moxl | train |
315162b35070cb418f724e00b8b72b72271b9e4c | diff --git a/phy/cluster/manual/session.py b/phy/cluster/manual/session.py
index <HASH>..<HASH> 100644
--- a/phy/cluster/manual/session.py
+++ b/phy/cluster/manual/session.py
@@ -398,6 +398,8 @@ class Session(EventEmitter):
self.connect(self.on_cluster)
self.connect(self.on_close)
+ self._cre... | Added show_*() methods in session. | kwikteam_phy | train |
3c271b5a9582635c4f7390e6a5acb98cde222031 | diff --git a/lib/country_code_select/countries.rb b/lib/country_code_select/countries.rb
index <HASH>..<HASH> 100644
--- a/lib/country_code_select/countries.rb
+++ b/lib/country_code_select/countries.rb
@@ -2,7 +2,7 @@ module CountryCodeSelect
module Countries
COUNTRIES = [["Afghanistan", "AF"], ["Albania", "AL"]... | change Banglades to Bangladesh
Sorry, but i think the country ["Banglades", "BD"] must be ["Bangladesh", "BD"],
am i right or wrong? | russ_country_code_select | train |
be1be3177cd13bfbdcf53841bc388e4ea6b7416a | diff --git a/spec/support/sinatra_app.rb b/spec/support/sinatra_app.rb
index <HASH>..<HASH> 100644
--- a/spec/support/sinatra_app.rb
+++ b/spec/support/sinatra_app.rb
@@ -38,10 +38,11 @@ class SinatraApp < Sinatra::Base
def header_output
# we only want the headers that were sent by the client
- # request.h... | Read the proper headers from Sinatra | arsduo_batch_api | train |
5562d792c1c5fa50d050028c46aa70f8af6ee21b | diff --git a/src/vis/overlays.js b/src/vis/overlays.js
index <HASH>..<HASH> 100644
--- a/src/vis/overlays.js
+++ b/src/vis/overlays.js
@@ -399,10 +399,6 @@ cdb.vis.Overlay.register('share', function(data, vis) {
// search content
cdb.vis.Overlay.register('search', function(data, vis) {
- var options = data.options... | Added map view to search overlay generator | CartoDB_carto.js | train |
d53f0bede91775748a90b0a12f1252d09ebaf445 | diff --git a/src/ossos-pipeline/ossos/gui/controllers.py b/src/ossos-pipeline/ossos/gui/controllers.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/ossos/gui/controllers.py
+++ b/src/ossos-pipeline/ossos/gui/controllers.py
@@ -115,6 +115,9 @@ class AbstractController(object):
self.autoplay_manager.... | Fixed error when trying to display keymappings. | OSSOS_MOP | train |
1b042744fcab9d28766b8ce86c7249b765a74167 | diff --git a/flask_sqlalchemy_bundle/meta/model_registry.py b/flask_sqlalchemy_bundle/meta/model_registry.py
index <HASH>..<HASH> 100644
--- a/flask_sqlalchemy_bundle/meta/model_registry.py
+++ b/flask_sqlalchemy_bundle/meta/model_registry.py
@@ -2,7 +2,7 @@ import sqlalchemy as sa
import warnings
from collections ... | add comment for ModelRegistry._base_model-classes | briancappello_flask-sqlalchemy-bundle | train |
2071519e7462cfc7613c50dc42acb4672dbca4a7 | diff --git a/airflow/kubernetes/kube_client.py b/airflow/kubernetes/kube_client.py
index <HASH>..<HASH> 100644
--- a/airflow/kubernetes/kube_client.py
+++ b/airflow/kubernetes/kube_client.py
@@ -30,7 +30,10 @@ try:
has_kubernetes = True
def _disable_verify_ssl() -> None:
- configuration = Configurati... | fix: change disable_verify_ssl behaviour (#<I>)
The problem is that verify_ssl is overwritten by the
configuration from the kube_config or load_incluster_config file. | apache_airflow | train |
ba8061abd296895555ea3d1d6ca7418fcd07d633 | diff --git a/workflow/controller/workflowpod.go b/workflow/controller/workflowpod.go
index <HASH>..<HASH> 100644
--- a/workflow/controller/workflowpod.go
+++ b/workflow/controller/workflowpod.go
@@ -3,7 +3,6 @@ package controller
import (
"encoding/json"
"fmt"
- "io"
"path"
"github.com/argoproj/argo/errors"
... | Redundant verifyResolvedVariables check in controller precluded the ability to use {{ }} in other circumstances | argoproj_argo | train |
4c6d738bc5a0c631a6d3c7c21a134b96b5f90b59 | diff --git a/lib/retester/retester.py b/lib/retester/retester.py
index <HASH>..<HASH> 100755
--- a/lib/retester/retester.py
+++ b/lib/retester/retester.py
@@ -627,13 +627,13 @@ def print_results_as_html(opts, tests):
print """</div>"""
def send_email(opts, message, recipient):
-
+
print "Sending em... | Made retester more resilient to GMail problems. | rethinkdb_rethinkdb | train |
2d18003b131059199c8eb8e7a3f4f674905b1e0f | diff --git a/src/IBAN/Rule/DE/IBANRuleDE000000.php b/src/IBAN/Rule/DE/IBANRuleDE000000.php
index <HASH>..<HASH> 100644
--- a/src/IBAN/Rule/DE/IBANRuleDE000000.php
+++ b/src/IBAN/Rule/DE/IBANRuleDE000000.php
@@ -12,13 +12,29 @@ class IBANRuleDE000000 extends \IBAN\Rule\IBANRule
parent::__construct($localeCode, ... | Refactored german standard iban | jschaedl_Iban | train |
1950512382829e5e8675f0845fc8590d89032350 | diff --git a/openquake/engine/tools/restore_hazards.py b/openquake/engine/tools/restore_hazards.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/tools/restore_hazards.py
+++ b/openquake/engine/tools/restore_hazards.py
@@ -40,7 +40,7 @@ class CSVInserter(object):
self.curs.copy_from(self.io, self.table... | marked some tests as slow
Former-commit-id: d<I>b8a<I>a<I>bd8f<I>cbc4 [formerly <I>bf<I>b9a1ee<I>a3cf<I>c<I>fa<I>d3f]
Former-commit-id: c6f<I>ad<I>e<I>af9e<I>f0be7b6c<I>e | gem_oq-engine | train |
bb4a4f8b598207108d58f0bc7d0b6015075849e6 | diff --git a/lib/mini_fb.rb b/lib/mini_fb.rb
index <HASH>..<HASH> 100644
--- a/lib/mini_fb.rb
+++ b/lib/mini_fb.rb
@@ -344,8 +344,8 @@ module MiniFB
def self.fetch(url, options={})
puts 'url=' + url if @@logging
- begin
- if options[:type] == :post
+ begin
+ ... | MiniFB.post changes to get working with graph | appoxy_mini_fb | train |
e0277b987847af43043f6e9de08b2ea054dfa485 | diff --git a/src/components/Draggable/index.js b/src/components/Draggable/index.js
index <HASH>..<HASH> 100644
--- a/src/components/Draggable/index.js
+++ b/src/components/Draggable/index.js
@@ -18,7 +18,6 @@ class Draggable extends Component {
};
this._isClick = true;
-
this._onMouseDown = (e) => {
... | fix onClick problem on Draggable (#<I>)
* fix onClick problem
* add click threshold | ringcentral_ringcentral-js-widgets | train |
e81b2390ddaca8b003691ec2df33337aec70e3db | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100755
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -45,7 +45,7 @@ module.exports = function(grunt) {
tasks: ['jshint:theme', 'concat:js', 'uglify:js', 'assets_version']
},
less: {
- files: 'less/*.less',
+ files: 'less/**/*.... | WATCH ALL THE LESS FILES! | sitecrafting_groot | train |
211b17d4659fc6c7db56836a9671b257c4e553c8 | diff --git a/acceptance/lib/puppet/acceptance/mount_utils.rb b/acceptance/lib/puppet/acceptance/mount_utils.rb
index <HASH>..<HASH> 100644
--- a/acceptance/lib/puppet/acceptance/mount_utils.rb
+++ b/acceptance/lib/puppet/acceptance/mount_utils.rb
@@ -23,12 +23,7 @@ module Puppet
def filesystem_type(host)
... | (PUP-<I>) Update aix tests to use jfs2 for mounting on <I>
AIX <I> images have been updated to use jfs2, so we need to update our tests
to use jfs2 when doing tests with mounts | puppetlabs_puppet | train |
2facf6e3a5eb3c928dd17ae42a68f49f900ac858 | diff --git a/src/Player.php b/src/Player.php
index <HASH>..<HASH> 100644
--- a/src/Player.php
+++ b/src/Player.php
@@ -36,7 +36,7 @@ class Player implements PlayerInterface
* @return $this
* @throws RockPaperScissorsSpockLizardException
*/
- public function play($move)
+ public function move($mo... | Updated play() method to move() for Player objects | jarrettbarnett_RockPaperScissorsSpockLizard | train |
19a142782bc1272af870cd893fd25fc7f19c9940 | diff --git a/cmd2/table_creator.py b/cmd2/table_creator.py
index <HASH>..<HASH> 100644
--- a/cmd2/table_creator.py
+++ b/cmd2/table_creator.py
@@ -548,11 +548,13 @@ class SimpleTable(TableCreator):
total_width = self.total_width()
divider_char_width = ansi.style_aware_wcswidth(self.divider_cha... | Simplied table divider code for ease of reading | python-cmd2_cmd2 | train |
5ca74ab1c37f07e6c88de412cc23bbfa5aa517c4 | diff --git a/source-gallery/src/main/java/com/google/android/apps/muzei/gallery/GallerySettingsActivity.java b/source-gallery/src/main/java/com/google/android/apps/muzei/gallery/GallerySettingsActivity.java
index <HASH>..<HASH> 100644
--- a/source-gallery/src/main/java/com/google/android/apps/muzei/gallery/GallerySetti... | Fix Gallery crash coming back from selecting photos
You can't run animations on detached Views. On some devices, this means that returning from onActivityResult leads to a crash as the add toolbar is animated away. Check whether the views are attached to the window before animating, instead just setting the visibility... | romannurik_muzei | train |
d0678b18d10ec7be6f4c9cab34aaba6ef839320e | diff --git a/.travis.yml b/.travis.yml
index <HASH>..<HASH> 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,5 +6,7 @@ python:
- "3.5"
- "3.6"
install: "pip install -r requirements.txt coveralls"
-script: pytest
+script:
+ - pytest
+ - flake8
after_success: coveralls
diff --git a/appnexus/client.py b/appnexus... | Respect flake8 and isort | numberly_appnexus-client | train |
161bfbfa1b15f2b7b881f6d85eeefd8783c1ccc5 | diff --git a/example/index.js b/example/index.js
index <HASH>..<HASH> 100644
--- a/example/index.js
+++ b/example/index.js
@@ -10,7 +10,9 @@ var app = express();
app.use(micro({
discoverable: true,
- debug: true
+ debug: true,
+ controllersPath: './controllers',
+ monitorsPath: './monitors'
}));
app.list... | Log out when unable to resolve provided monitors path | ph0bos_express-microservice-starter | train |
48da009e9453a35b2304d9e8e03ec429a88b37a3 | diff --git a/src/bosh-director/lib/bosh/director/deployment_plan/steps/create_vm_step.rb b/src/bosh-director/lib/bosh/director/deployment_plan/steps/create_vm_step.rb
index <HASH>..<HASH> 100644
--- a/src/bosh-director/lib/bosh/director/deployment_plan/steps/create_vm_step.rb
+++ b/src/bosh-director/lib/bosh/director/d... | Ensure blobstore and nats sha1s are set on newly created VM model during deploy
[#<I>] Rotation of certificates/credentials stored in the bosh-agent metadata can be updated without recreating the VM | cloudfoundry_bosh | train |
531b940e840d5ab2976e91ae5493b8449e371202 | diff --git a/tests/sa/test_sa_connection.py b/tests/sa/test_sa_connection.py
index <HASH>..<HASH> 100644
--- a/tests/sa/test_sa_connection.py
+++ b/tests/sa/test_sa_connection.py
@@ -307,10 +307,10 @@ class TestSAConnection(unittest.TestCase):
def go():
conn = yield from self.connect()
... | fix test, add yf before close method | aio-libs_aiomysql | train |
7fae363da2430769db72d97842a92da1598860fa | diff --git a/controller/client/client.go b/controller/client/client.go
index <HASH>..<HASH> 100644
--- a/controller/client/client.go
+++ b/controller/client/client.go
@@ -13,6 +13,7 @@ import (
"time"
ct "github.com/flynn/flynn/controller/types"
+ "github.com/flynn/flynn/pkg/attempt"
"github.com/flynn/flynn/pkg... | controller: Handle deploying the controller in DeployAppRelease | flynn_flynn | train |
96bdb70bb0aa9f6effac40dc83092ed1b404225d | diff --git a/lib/Optimizations.js b/lib/Optimizations.js
index <HASH>..<HASH> 100644
--- a/lib/Optimizations.js
+++ b/lib/Optimizations.js
@@ -41,6 +41,9 @@ var Optimizer = function ST_OPTIMIZER(array, O_LEVEL, O_MASK) {
// Skip if Optimization level doesn't match
if (O_LEVEL < PROP[i].MIN_O_L... | Added absolute value guarantee
Values of all optimized objects should be positive. A new property
should be added to PROP objects in order to disable this check for
specific properties. | schahriar_supertask | train |
e10019ea60ea72a6d1f763df9acca49583ca2259 | diff --git a/activerecord/lib/active_record/connection_adapters/schema_cache.rb b/activerecord/lib/active_record/connection_adapters/schema_cache.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/schema_cache.rb
+++ b/activerecord/lib/active_record/connection_adapters/schema_cache.... | Use tempfile when writing schema cache
This avoids situations where the schema cache is read by
another process when the file is only partially written,
by first writing to a tempfile, and then renaming at the
end. | rails_rails | train |
d7ce67f1caa35381d9582ba5434afa216eec2905 | diff --git a/testapp/runtests.py b/testapp/runtests.py
index <HASH>..<HASH> 100644
--- a/testapp/runtests.py
+++ b/testapp/runtests.py
@@ -40,8 +40,7 @@ def runtests():
failures = test_runner.run_tests([])
cov.stop()
- cov.html_report(
- directory='htmlcov',
+ cov.report(
include=['*/s... | Now that we have <I>% coverage, switch to a text-based report also usable on Travis | feinheit_django-sane-redirects | train |
fc43b03898866c64a49b10b9538f808d68a97c53 | diff --git a/model/Entity/TaskLogEntity.php b/model/Entity/TaskLogEntity.php
index <HASH>..<HASH> 100644
--- a/model/Entity/TaskLogEntity.php
+++ b/model/Entity/TaskLogEntity.php
@@ -23,17 +23,14 @@ namespace oat\taoTaskQueue\model\Entity;
use common_report_Report as Report;
use DateTime;
use Exception;
-use oat\oat... | Use base task log entity to comply with new interface changes | oat-sa_extension-tao-task-queue | train |
cebecb99c0e53d4de22a335540d84919658e5521 | diff --git a/pyrogram/methods/chats/delete_user_history.py b/pyrogram/methods/chats/delete_user_history.py
index <HASH>..<HASH> 100644
--- a/pyrogram/methods/chats/delete_user_history.py
+++ b/pyrogram/methods/chats/delete_user_history.py
@@ -42,9 +42,9 @@ class DeleteUserHistory(Scaffold):
"""
r = ... | Fix renamed raw API function (#<I>)
`raw.functions.channels.DeleteUserHistory` to `raw.functions.channels.DeleteParticipantHistory` | pyrogram_pyrogram | train |
6c0487d9b87413725853a3f845edac7a29013289 | diff --git a/spec/unit/file_access_control_spec.rb b/spec/unit/file_access_control_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/file_access_control_spec.rb
+++ b/spec/unit/file_access_control_spec.rb
@@ -42,6 +42,12 @@ describe Chef::FileAccessControl do
end
end
+ describe 'class methods' do
+ ... | Added spec to check that FileAccessControl responds to writable? | chef_chef | train |
49496eca8fe10cb7d9a40e1dc27d52c5b0d66eed | diff --git a/plugins/cloudconfigs/gcp/main.go b/plugins/cloudconfigs/gcp/main.go
index <HASH>..<HASH> 100644
--- a/plugins/cloudconfigs/gcp/main.go
+++ b/plugins/cloudconfigs/gcp/main.go
@@ -6,5 +6,5 @@ import (
)
func main() {
- cloudconfig.Run(new(gcp.Plugin))
+ cloudconfig.Run(new(plugin.Plugin))
}
diff --git a... | refactored to use consistent package names | enaml-ops_omg-cli | train |
66476b3d2b22eb882c444422950e33dba14a2e4e | diff --git a/spec/mongoid/persistence_context_spec.rb b/spec/mongoid/persistence_context_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongoid/persistence_context_spec.rb
+++ b/spec/mongoid/persistence_context_spec.rb
@@ -150,7 +150,7 @@ describe Mongoid::PersistenceContext do
context 'when options are passed' do... | Use a connect timeout value other than the default to properly test | mongodb_mongoid | train |
71322cba652b4ba7bcaa7ae5ee86f539d1ae3a2b | diff --git a/torchvision/models/resnet.py b/torchvision/models/resnet.py
index <HASH>..<HASH> 100644
--- a/torchvision/models/resnet.py
+++ b/torchvision/models/resnet.py
@@ -31,6 +31,7 @@ class BasicBlock(nn.Module):
def __init__(self, inplanes, planes, stride=1, downsample=None):
super(BasicBlock, sel... | Add comments regarding downsampling layers of resnet (#<I>)
In reference to #<I> added comments to clarify the naming and action of the layers performing downsampling in resnets. | pytorch_vision | train |
d68b390410c2f3ee0d3e47c95fe556cd29cb3c78 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ class test(_test):
return # even though _test.run will raise SystemExit
# save the content
- with open(entry_points) as f:
+ with open(entry_points, 'rb') as f:
... | Use binary mode to save/restore entry_points - no need to mutate newlines | pypa_setuptools | train |
86f69ee9703d24ce8350de1f3011076c5952f0dc | diff --git a/classes/fields/file.php b/classes/fields/file.php
index <HASH>..<HASH> 100644
--- a/classes/fields/file.php
+++ b/classes/fields/file.php
@@ -1176,10 +1176,10 @@ class PodsField_File extends PodsField {
// Start custom directory.
$upload_dir = pods_v( $field['type'] . '_upload_dir', $field['optio... | This isn't a Pods object | pods-framework_pods | train |
20c1974281284e0ea9f3508be86bc90cda4dc321 | diff --git a/lib/eve/trust/controller_helpers.rb b/lib/eve/trust/controller_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/eve/trust/controller_helpers.rb
+++ b/lib/eve/trust/controller_helpers.rb
@@ -31,6 +31,7 @@ module Eve
end
def require_trust(trust_message = self.class.trust_message)
+ p i... | Rails 3 compatibility: trust header is sent correctly. 2 failures remain. | sinisterchipmunk_eve | train |
b0e90041afde3e633bcc37837a76f8f9e4ac108c | diff --git a/jira/resources.py b/jira/resources.py
index <HASH>..<HASH> 100644
--- a/jira/resources.py
+++ b/jira/resources.py
@@ -1000,7 +1000,7 @@ def dict2resource(raw, top=None, options=None, session=None):
or a ``PropertyHolder`` object (if no ``self`` link is present).
"""
if top is None:
- ... | Make JIRA resources work with pickle
Fixes #<I> | pycontribs_jira | train |
e557138c39dda68635da6fb51b2c131c78d47af3 | diff --git a/lib/sprout/base.rb b/lib/sprout/base.rb
index <HASH>..<HASH> 100644
--- a/lib/sprout/base.rb
+++ b/lib/sprout/base.rb
@@ -25,13 +25,12 @@ module Sprout
module ClassMethods
-
##
# Tool Specifications should register their executables with this method
# so that Tasks can later c... | Added support for tool version requirement comparison | lukebayes_project-sprouts | train |
961febdb76d9a2f37c4c8fa6e84c511997a24525 | diff --git a/src/Configuration/RectorConfigsResolver.php b/src/Configuration/RectorConfigsResolver.php
index <HASH>..<HASH> 100644
--- a/src/Configuration/RectorConfigsResolver.php
+++ b/src/Configuration/RectorConfigsResolver.php
@@ -94,7 +94,7 @@ final class RectorConfigsResolver
{
$containerBuilder = n... | update pathname for phars | rectorphp_rector | train |
b7ff75da044f6f61c72e37261427cc86ac4472de | diff --git a/lib/channel.js b/lib/channel.js
index <HASH>..<HASH> 100644
--- a/lib/channel.js
+++ b/lib/channel.js
@@ -8,9 +8,12 @@
var BufferReadable = require('./util/buffer/readable');
var util = require('./util');
var stream = require('stream');
+var events = require('events');
f... | Emit idle event when channel has emptied its transmission queue | gdaws_node-stomp | train |
029bc1bf08fb6666ceeefcf417ca3042f2a89eb9 | diff --git a/tomitribe-crest/src/test/java/org/tomitribe/crest/CmdMethodTest.java b/tomitribe-crest/src/test/java/org/tomitribe/crest/CmdMethodTest.java
index <HASH>..<HASH> 100644
--- a/tomitribe-crest/src/test/java/org/tomitribe/crest/CmdMethodTest.java
+++ b/tomitribe-crest/src/test/java/org/tomitribe/crest/CmdMetho... | Added more test for required with multi options | tomitribe_crest | train |
35c1c9ef2489b609008336e1d3494e49866ac52c | diff --git a/print.go b/print.go
index <HASH>..<HASH> 100644
--- a/print.go
+++ b/print.go
@@ -134,11 +134,11 @@ func (p *printer) spaced(a ...interface{}) {
if v == nil {
continue
}
- if t, ok := v.(Token); ok && contiguousLeft[t] {
- } else if p.wantNewline {
+ if p.wantNewline {
p.space('\n')
p.... | print: fix edge case with line 1 and wantNewline | mvdan_sh | train |
6cb42ce9031d7a8e6b1b8faf3c98eb21ed3e9028 | diff --git a/lib/elastic_apm.rb b/lib/elastic_apm.rb
index <HASH>..<HASH> 100644
--- a/lib/elastic_apm.rb
+++ b/lib/elastic_apm.rb
@@ -57,11 +57,10 @@ module ElasticAPM
# `ExamplesController#index`
# @param type [String] The kind of the transaction, eg `app.request.get` or
# `db.mysql2.query`
- # @param resul... | Remove `result` from transaction initializer | elastic_apm-agent-ruby | train |
094571f00b7b4908e164c93f1645cb6392431392 | diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py
index <HASH>..<HASH> 100755
--- a/fontbakery-check-ttf.py
+++ b/fontbakery-check-ttf.py
@@ -2,10 +2,7 @@
__author__="The Font Bakery Authors"
-import argparse
-import glob
-import os
-import logging
+import os, sys, argparse, glob, logging
from font... | Checking files are named canonically
Fixes <URL> | googlefonts_fontbakery | train |
433b9542d589156de1abb6ee524c19b1df1bd122 | diff --git a/pyathenajdbc/connection.py b/pyathenajdbc/connection.py
index <HASH>..<HASH> 100644
--- a/pyathenajdbc/connection.py
+++ b/pyathenajdbc/connection.py
@@ -41,12 +41,19 @@ class Connection(object):
):
self._start_jvm(jvm_path, jvm_options, driver_path, log4j_conf)
self._driver_kwargs =... | Add schema_name & workgroup | laughingman7743_PyAthenaJDBC | train |
d2b1b27f38e6ae2b04d1ae3dcf6be5a87163232c | diff --git a/example/my-favourite-bookmark/src/my-favourite-bookmark.js b/example/my-favourite-bookmark/src/my-favourite-bookmark.js
index <HASH>..<HASH> 100644
--- a/example/my-favourite-bookmark/src/my-favourite-bookmark.js
+++ b/example/my-favourite-bookmark/src/my-favourite-bookmark.js
@@ -23,7 +23,7 @@
remo... | added mock localStorage for remoteStorage testing, though there's still some weirdness going on, added takedown functions for posterity | remotestorage_remotestorage.js | train |
3dc92436bdc9a1e3510d6278c11558f827759ddc | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -106,43 +106,46 @@ Tokenizer.prototype.re = function tokenizeRe(re, opts) {
var tokens = [];
var match;
var start = 0;
- var firstIndex = null;
+ var lastIndex = 0;
... | Adapt tokenize.re for splitting correctly | GitbookIO_tokenize-text | train |
d33b377c6af7dd755d5f44d41e457cc2efebf3d5 | diff --git a/ghost/security/test/string.test.js b/ghost/security/test/string.test.js
index <HASH>..<HASH> 100644
--- a/ghost/security/test/string.test.js
+++ b/ghost/security/test/string.test.js
@@ -78,16 +78,12 @@ describe('Lib: Security - String', function () {
});
it('should not lose or convert d... | Corrected "declared in uppper scope" linting errors | TryGhost_Ghost | train |
3928e52bf849b618584540ee9229c7974f5c9de1 | diff --git a/actionpack/test/journey/route/definition/scanner_test.rb b/actionpack/test/journey/route/definition/scanner_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/journey/route/definition/scanner_test.rb
+++ b/actionpack/test/journey/route/definition/scanner_test.rb
@@ -30,6 +30,12 @@ module ActionDispa... | Add test case for the `|` token in Journey scanner
Journey's scanner tokenizes the `|` (:OR) operator when scanning route
urls such as `"/:foo|*bar"`. However, the current scanner test does not
have any test cases for the `|` operator. This commit adds a test case
for this particular token. | rails_rails | train |
7a33d45646cec73c754c4bac67b09cabbf3f3fd9 | diff --git a/tests/parser/functions/test_convert_to_bytes32.py b/tests/parser/functions/test_convert_to_bytes32.py
index <HASH>..<HASH> 100644
--- a/tests/parser/functions/test_convert_to_bytes32.py
+++ b/tests/parser/functions/test_convert_to_bytes32.py
@@ -1,3 +1,8 @@
+from vyper.utils import (
+ DECIMAL_DIVISOR,
... | cleaner tests with better naming conventions | ethereum_vyper | train |
03c416667581585f56c5412fc2348a95ef0aa722 | diff --git a/language-analyzer.py b/language-analyzer.py
index <HASH>..<HASH> 100644
--- a/language-analyzer.py
+++ b/language-analyzer.py
@@ -10,11 +10,12 @@ from concurrent.futures import ThreadPoolExecutor
import time
import grpc
from lookout.sdk import pb
+from lookout.sdk.grpc import to_grpc_address, create_cha... | separate autogenerated code from sdk code | src-d_lookout-sdk | train |
12fb094842eed97ff73b30e8f8d7d609a1f21758 | diff --git a/lib/generators/app/index.js b/lib/generators/app/index.js
index <HASH>..<HASH> 100644
--- a/lib/generators/app/index.js
+++ b/lib/generators/app/index.js
@@ -22,8 +22,6 @@ var KarmaGenerator = module.exports = function KarmaGenerator(args, options) {
this.format = 'js';
}
- this.testPath = optio... | test(gen): added tests for configuring test path from options | yeoman_generator-karma | train |
3e97aa3931946d42dc6f20142123a2ad2431a5ea | diff --git a/lnd_test.go b/lnd_test.go
index <HASH>..<HASH> 100644
--- a/lnd_test.go
+++ b/lnd_test.go
@@ -1145,11 +1145,14 @@ func testListPayments(net *networkHarness, t *harnessTest) {
// Wait for Alice to recognize and advertise the new channel generated
// above.
ctxt, _ = context.WithTimeout(ctxb, timeout)
... | test: within testListPayments also wait for bob to learn of channel | lightningnetwork_lnd | train |
363db9125fa85a8589724501a50a5d361c07a757 | diff --git a/dvc/remote/local.py b/dvc/remote/local.py
index <HASH>..<HASH> 100644
--- a/dvc/remote/local.py
+++ b/dvc/remote/local.py
@@ -553,6 +553,12 @@ class RemoteLOCAL(RemoteBase):
progress.update_target(title, 60, 100)
+ # NOTE: dummy call to try to establish a connection
+ # to see if... | pull: add dummy call to try establishing the connection (#<I>)
Fixes #<I> | iterative_dvc | train |
251bde0439f1d802f798c2e0f913dd5708f8b354 | diff --git a/lib/committee/middleware/stub.rb b/lib/committee/middleware/stub.rb
index <HASH>..<HASH> 100644
--- a/lib/committee/middleware/stub.rb
+++ b/lib/committee/middleware/stub.rb
@@ -2,8 +2,16 @@ module Committee::Middleware
class Stub < Base
def initialize(app, options={})
super
- @cache = ... | Repair the stub's caching feature | interagent_committee | train |
1cd5f239951da3dd0c8e809afa79d564348bfeab | diff --git a/mod/lesson/editpage.php b/mod/lesson/editpage.php
index <HASH>..<HASH> 100644
--- a/mod/lesson/editpage.php
+++ b/mod/lesson/editpage.php
@@ -43,6 +43,7 @@ $context = context_module::instance($cm->id);
require_capability('mod/lesson:edit', $context);
$PAGE->set_url('/mod/lesson/editpage.php', array('pa... | MDL-<I> mod_lesson: editing interface won't expand to full screen | moodle_moodle | train |
5250895d365a74d292b2fc9035e89109d6ea92a4 | diff --git a/pylibscrypt/pylibscrypt.py b/pylibscrypt/pylibscrypt.py
index <HASH>..<HASH> 100755
--- a/pylibscrypt/pylibscrypt.py
+++ b/pylibscrypt/pylibscrypt.py
@@ -108,6 +108,8 @@ def scrypt(password, salt, N=SCRYPT_N, r=SCRYPT_r, p=SCRYPT_p, olen=64):
raise TypeError
if not isinstance(salt, bytes):
... | Fix N = 2**t + 2**s overflowing to 2**s with t > <I> | jvarho_pylibscrypt | train |
c357811e48fad10af957f831c64963ee02798e9d | diff --git a/src/geshi/netrexx.php b/src/geshi/netrexx.php
index <HASH>..<HASH> 100644
--- a/src/geshi/netrexx.php
+++ b/src/geshi/netrexx.php
@@ -156,7 +156,7 @@ $language_data = array (
6 => ''
),
'OOLANG' => true,
- 'OBJECT_SPLITTERS' => '.',
+ 'OBJECT_SPLITTERS' => array('.'),
'REG... | fix: And some more language file fixing | GeSHi_geshi-1.0 | train |
b5942d1c6a2c918a553e31e361e58d08e69fcdb8 | diff --git a/salt/runners/state.py b/salt/runners/state.py
index <HASH>..<HASH> 100644
--- a/salt/runners/state.py
+++ b/salt/runners/state.py
@@ -158,6 +158,7 @@ def orchestrate_high(data, test=None, queue=False, pillar=None, **kwargs):
__jid_event__.fire_event({'data': ret, 'outputter': 'highstate'}, 'progress')... | Newlines between funcs
For lint check | saltstack_salt | train |
30d6294728b52db7cfd5999a5a2772b70b390f74 | diff --git a/features/lib/support/normalise_output.rb b/features/lib/support/normalise_output.rb
index <HASH>..<HASH> 100644
--- a/features/lib/support/normalise_output.rb
+++ b/features/lib/support/normalise_output.rb
@@ -19,8 +19,10 @@ module NormaliseArubaOutput
elements = feature.fetch('elements') { [] }
... | Handle that scenario outline steps do not contain result | cucumber_cucumber-ruby | train |
1d8129f7961071284038fef27357ffd3b8ca8bde | diff --git a/fsm.go b/fsm.go
index <HASH>..<HASH> 100644
--- a/fsm.go
+++ b/fsm.go
@@ -281,7 +281,7 @@ func (f *FSM) Tick(decisionTask *PollForDecisionTaskResponse) []*Decision {
e := errorEvents[i]
anOutcome, err := f.panicSafeDecide(f.errorState, context, e, outcome.data)
if err != nil {
- f.log("at=er... | add errs to log lines from fsm | sclasen_swf4go | train |
e394ec2974cd84779c3224bb50e639e19dd44238 | diff --git a/library/src/main/java/eu/inmite/android/lib/dialogs/BaseDialogBuilder.java b/library/src/main/java/eu/inmite/android/lib/dialogs/BaseDialogBuilder.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/eu/inmite/android/lib/dialogs/BaseDialogBuilder.java
+++ b/library/src/main/java/eu/inmite/android/... | added javadoc to showAllowingStateLoss() warning about it's use | avast_android-styled-dialogs | train |
0aa321e153d83ce471f1712cff67f2c0e579c671 | diff --git a/sos/report/plugins/rpm.py b/sos/report/plugins/rpm.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/rpm.py
+++ b/sos/report/plugins/rpm.py
@@ -26,34 +26,25 @@ class Rpm(Plugin, RedHatPlugin):
def setup(self):
self.add_copy_spec("/var/log/rpmpkgs")
- def add_rpm_cmd(query_fmt, ... | [rpm] Use query tags and drop use of piping to awk
Removes the use of awk in the `rpm` command that generates the
`installed-rpms` output, instead relying on rpm's builtin query tags.
Further removes the `add_rpm_cmd` method and directly calls
`add_cmd_output` with the proper parameters now.
Resolves: #<I> | sosreport_sos | train |
a4b7119b2a2efa4d77464371b5ba469d42b4700d | diff --git a/jenkins/release.rb b/jenkins/release.rb
index <HASH>..<HASH> 100755
--- a/jenkins/release.rb
+++ b/jenkins/release.rb
@@ -74,7 +74,9 @@ class ArtifactCollection
end
def package_paths
- @package_paths ||= Dir['**/pkg/*'].reject {|path| path.include?("BUILD_VERSION") }
+ @package_paths ||= Dir[... | explicitly reject PKG.metadata.json files
$pkgname.metadata.json files are now generated by the builds. We need to
reject these from the collection of artifacts we upload. | chef_chef | train |
cc54c35be4e7568c89fc426b8aca527e93616efb | diff --git a/gdspy/library.py b/gdspy/library.py
index <HASH>..<HASH> 100644
--- a/gdspy/library.py
+++ b/gdspy/library.py
@@ -559,15 +559,9 @@ class Cell(object):
Bounding box of this cell [[x_min, y_min], [x_max, y_max]],
or None if the cell is empty.
"""
- if (
- ... | removing top if statement and making the code more readable. changing extend to append when adding ref bboxes | heitzmann_gdspy | train |
ae1f04d89e2150b20c02c9d9904a8b760c1f8ca6 | diff --git a/wro4j-core/src/main/java/ro/isdc/wro/model/group/DefaultGroupExtractor.java b/wro4j-core/src/main/java/ro/isdc/wro/model/group/DefaultGroupExtractor.java
index <HASH>..<HASH> 100644
--- a/wro4j-core/src/main/java/ro/isdc/wro/model/group/DefaultGroupExtractor.java
+++ b/wro4j-core/src/main/java/ro/isdc/wro/... | ISSUE-<I>: requestDispatcher forward should be treated different than include | wro4j_wro4j | train |
046f71271a7b8de00262b3d2d422e78db8aa8795 | diff --git a/src/Oci8/Query/Grammars/OracleGrammar.php b/src/Oci8/Query/Grammars/OracleGrammar.php
index <HASH>..<HASH> 100644
--- a/src/Oci8/Query/Grammars/OracleGrammar.php
+++ b/src/Oci8/Query/Grammars/OracleGrammar.php
@@ -547,7 +547,7 @@ class OracleGrammar extends Grammar
$type = $this->wrap($column) . '... | Fix bug from pull request #<I> | yajra_laravel-oci8 | train |
d5d728c78c23e31410acab0612124043ef503384 | diff --git a/externs/w3c_navigation_timing.js b/externs/w3c_navigation_timing.js
index <HASH>..<HASH> 100644
--- a/externs/w3c_navigation_timing.js
+++ b/externs/w3c_navigation_timing.js
@@ -104,6 +104,12 @@ function Performance() {}
Performance.prototype.clearResourceTimings = function() {};
/**
+ * Clear out the ... | Adding the vendor specific version of window.performance.clearResourceTimings(). This is currently the version implemented in Chrome.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
cbeaa4dd476bd567e0d13bce06006f0f18700f4d | diff --git a/lib/migration_tools/tasks.rb b/lib/migration_tools/tasks.rb
index <HASH>..<HASH> 100644
--- a/lib/migration_tools/tasks.rb
+++ b/lib/migration_tools/tasks.rb
@@ -58,8 +58,7 @@ module MigrationTools
notify "Your database schema is up to date"
else
pending_migration... | use Migrator.run to run single migration version | zendesk_migration_tools | train |
9130d41e128b8056934c51f65ce7d84df55868ad | diff --git a/src/ossos-pipeline/ossos/fitsviewer/baseviewer.py b/src/ossos-pipeline/ossos/fitsviewer/baseviewer.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/ossos/fitsviewer/baseviewer.py
+++ b/src/ossos-pipeline/ossos/fitsviewer/baseviewer.py
@@ -1,36 +1,17 @@
__author__ = "David Rusk <drusk@uvic.ca>"
-i... | ImageViewManager now creates the matplotlib figure canvas and its is
shared by the singlet and triplet viewers. | OSSOS_MOP | train |
12a21698eb84153b0425d639fed0eb139fa6ca11 | diff --git a/tests/test_phenosim_engine.py b/tests/test_phenosim_engine.py
index <HASH>..<HASH> 100644
--- a/tests/test_phenosim_engine.py
+++ b/tests/test_phenosim_engine.py
@@ -1,9 +1,9 @@
from ontobio.sim.phenosim_engine import PhenoSimEngine
-from ontobio.sim.api.owlsim2 import OwlSim2Api, search_by_attribute_set
... | re-patch with new function | biolink_ontobio | train |
5645f8c02d0ce22ad4da18d2cfea04705a523c2f | diff --git a/test/shared/fetcher.test.js b/test/shared/fetcher.test.js
index <HASH>..<HASH> 100644
--- a/test/shared/fetcher.test.js
+++ b/test/shared/fetcher.test.js
@@ -343,6 +343,56 @@ describe('fetcher', function() {
fetcher.pendingFetches.should.eql(1);
});
+ it("should propagate timeout option to... | Added tests for xhr timeout | rendrjs_rendr | train |
f8fc79ba5124bbd615923a31a62c2b6914c60540 | diff --git a/core/Controller.php b/core/Controller.php
index <HASH>..<HASH> 100644
--- a/core/Controller.php
+++ b/core/Controller.php
@@ -5,7 +5,6 @@ namespace monad;
const EDITING = true;
namespace monad\core;
-use monolyth;
use monolyth\DependencyContainer;
use monolyth\User_Access;
use monolyth\utils\Transla... | we need to set this manually since php does not return aliases using get_class_methods | monomelodies_monad | train |
27672d1746d19c037efb9cff598f1e10c2e0ba48 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -112,6 +112,15 @@ module.exports = function gulpStylelint(options) {
}
/**
+ * Determines if the severity of a stylelint warning is "error".
+ * @param {Object} warning - Stylelint results warning.
... | fix(plugin): count warnings with "error" severity only
This prevents the plugin from erroring on "warning"s. | olegskl_gulp-stylelint | train |
8fd26773ddbed77fd4d8ba19e51def120c2ac23f | diff --git a/salt/modules/alternatives.py b/salt/modules/alternatives.py
index <HASH>..<HASH> 100644
--- a/salt/modules/alternatives.py
+++ b/salt/modules/alternatives.py
@@ -1,23 +1,15 @@
-# -*- coding: utf-8 -*-
"""
Support for Alternatives system
:codeauthor: Radek Rada <radek.rada@gmail.com>
"""
-from __futur... | Drop Py2 and six on salt/modules/alternatives.py | saltstack_salt | train |
d893d09fc138f65fe46fc0f7473866838942284d | diff --git a/src/App.php b/src/App.php
index <HASH>..<HASH> 100644
--- a/src/App.php
+++ b/src/App.php
@@ -8,7 +8,7 @@ interface App
* @param string $directory
* @return array
*/
- public function content($directory = '');
+ public function browse($directory = '');
/**
* @param ... | App::content() -> ::browse() and pre/post processing | bloge_bloge | train |
d744db9d901f1006cae6f60b776dbd856b98703d | diff --git a/moran.py b/moran.py
index <HASH>..<HASH> 100644
--- a/moran.py
+++ b/moran.py
@@ -535,7 +535,7 @@ class Moran_Local:
permutations : int
number of random permutations for calculation of pseudo
p_values
- I : float
+ Is : float
... | Updated LocalMoransI Docs to match code. | pysal_esda | train |
8190862d0302e9ab0eff2f2e007f34a5071f430f | diff --git a/jsftp.js b/jsftp.js
index <HASH>..<HASH> 100644
--- a/jsftp.js
+++ b/jsftp.js
@@ -17,12 +17,15 @@ var RE_MULTI = /^(\d\d\d)-/;
var RE_NL_END = /\r\n$/;
var RE_NL = /\r\n/;
+var TIMEOUT = 60000;
var COMMANDS = [
// Commands without parameters
"ABOR", "PWD", "CDUP", "FEAT", "NOOP", "QUIT", "PA... | Added extended commands, and created _initialization method | sergi_jsftp | train |
ceac48b5ab1a71248883283ba1f6c0b5a2b74a66 | diff --git a/jupyterhub_config.py b/jupyterhub_config.py
index <HASH>..<HASH> 100644
--- a/jupyterhub_config.py
+++ b/jupyterhub_config.py
@@ -15,7 +15,7 @@ c.JupyterHub.cleanup_servers = False
c.KubeSpawner.start_timeout = 60 * 5
# Our simplest user image! Optimized to just... start, and be small!
-c.KubeSpawner.i... | SETUP: Make jupyterhub_config.py work
The example config for using profile_list made SETUP.md fail.
The examples are in the docs already, so we remove that here
to make jupyterhub_config.py as simple as possible | jupyterhub_kubespawner | train |
f1d397bd05b17510449a349822f8af47cef85d49 | diff --git a/core/src/test/java/com/hp/autonomy/searchcomponents/core/parametricvalues/AbstractParametricValuesServiceIT.java b/core/src/test/java/com/hp/autonomy/searchcomponents/core/parametricvalues/AbstractParametricValuesServiceIT.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/hp/autonomy/searchcomp... | Read bucketing upper bound date from attribute (FIND-<I>)
[rev. alex.scown] | microfocus-idol_haven-search-components | train |
83d07b0a7b38842c5a5ac4453f7b8114bef65c62 | diff --git a/cldoc/tree.py b/cldoc/tree.py
index <HASH>..<HASH> 100644
--- a/cldoc/tree.py
+++ b/cldoc/tree.py
@@ -30,10 +30,15 @@ import os, sys, sets, re, glob, platform
from ctypes.util import find_library
if platform.system() == 'Darwin':
- libclang = '/Applications/Xcode.app/Contents/Developer/Toolchains/Xc... | Add search path for libclang on OS X | jessevdk_cldoc | train |
d5c185aec14506c3f53fbae58c499083a7d5d2db | diff --git a/glances/outputs/glances_curses.py b/glances/outputs/glances_curses.py
index <HASH>..<HASH> 100644
--- a/glances/outputs/glances_curses.py
+++ b/glances/outputs/glances_curses.py
@@ -761,7 +761,7 @@ class _GlancesCurses(object):
# New line
if m['msg'].startswith('\n'):
... | Replace assignment with augmented assignment
Convert former getcapacitypercent method to property. | nicolargo_glances | train |
d4a9f5bccc1b933b2db0433038d78de2e9fb0e87 | diff --git a/core/hash.rb b/core/hash.rb
index <HASH>..<HASH> 100644
--- a/core/hash.rb
+++ b/core/hash.rb
@@ -189,7 +189,7 @@ class Hash
var map = #{self}.map, value;
for (var key in map) {
- if ((value = block.call(__context, key, map[key])) === __breaker) {
+ if ((value = block(key, map... | Convert Hash to use new dynamic block calls | opal_opal | train |
6419dd1249d8fd28d66953ce3c311ec3ad97c109 | diff --git a/views/js/qtiItem/core/Loader.js b/views/js/qtiItem/core/Loader.js
index <HASH>..<HASH> 100755
--- a/views/js/qtiItem/core/Loader.js
+++ b/views/js/qtiItem/core/Loader.js
@@ -19,7 +19,7 @@ define(['lodash', 'class', 'taoQtiItem/qtiItem/core/qtiClasses', 'taoQtiItem/qti
for(var i in data){
... | prevent responseRules to be loaded into the qti js model | oat-sa_extension-tao-itemqti | train |
80c448d251a81b708fabf351f21cee1fc13b7205 | diff --git a/src/Signer.php b/src/Signer.php
index <HASH>..<HASH> 100644
--- a/src/Signer.php
+++ b/src/Signer.php
@@ -45,7 +45,7 @@ final class Signer
// Some of the tested RequestInterface implementations do not include
// the Host header in $message->getHeaders(), so it is explicitly set when nee... | this check is no longer necessary since the Signer cannot sign PSR7 Responses anymore | 1ma_Psr7Hmac | train |
c5537c1158c91e3244d24751b1e86290b136dc09 | diff --git a/actionpack/test/dispatch/request/xml_params_parsing_test.rb b/actionpack/test/dispatch/request/xml_params_parsing_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/dispatch/request/xml_params_parsing_test.rb
+++ b/actionpack/test/dispatch/request/xml_params_parsing_test.rb
@@ -21,7 +21,7 @@ class X... | Ruby <I>: fix invalid rack response in test | rails_rails | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.